X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/80bd2b3134b4f01da4e279d040a224326b3577e5..6243540ae739e323c936769f6f4ace0272707405:/tests/comments2.py?ds=sidebyside diff --git a/tests/comments2.py b/tests/comments2.py index 49ef2dc..44a4711 100644 --- a/tests/comments2.py +++ b/tests/comments2.py @@ -23,6 +23,14 @@ __all__ = [ 'Generator', ] +if 'PYTHON' in os.environ: + add_compiler(compiler_from_env()) +else: + # for compiler in compilers.values(): + # add_compiler(compiler) + add_compiler(compilers[(7.0, 32)]) + # add_compiler(compilers[(7.1, 64)]) + # Comment before function. def inline_comments_in_brackets_ruin_everything(): if typedargslist: @@ -97,7 +105,7 @@ short # and round and round we go # and round and round we go - # let's return + # let's return return Node( syms.simple_stmt, [ @@ -144,9 +152,15 @@ __all__ = [ "Generator", ] -# Comment before function. - +if "PYTHON" in os.environ: + add_compiler(compiler_from_env()) +else: + # for compiler in compilers.values(): + # add_compiler(compiler) + add_compiler(compilers[(7.0, 32)]) + # add_compiler(compilers[(7.1, 64)]) +# Comment before function. def inline_comments_in_brackets_ruin_everything(): if typedargslist: parameters.children = [ @@ -222,8 +236,8 @@ short if False: continue - # and round and round we go - # and round and round we go + # and round and round we go + # and round and round we go # let's return return Node(