X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/1909d8cc6b6ef62ea285a69f6d8b25630d85f04a..9138a75b759ecb690d63924503f88bfbc82d4862:/tests/comments2.py?ds=inline diff --git a/tests/comments2.py b/tests/comments2.py index 49ef2dc..848ddb1 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,6 +152,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.