]> granicus.if.org Git - python/commit
Use the "if 1:" prefix so that quoted code appears nicely
authorAmaury Forgeot d'Arc <amauryfa@gmail.com>
Fri, 10 Sep 2010 19:40:52 +0000 (19:40 +0000)
committerAmaury Forgeot d'Arc <amauryfa@gmail.com>
Fri, 10 Sep 2010 19:40:52 +0000 (19:40 +0000)
commitdfa9b294fac33934547b5f7b7542466c469e6599
tree3b2b9183ef5de79eeb77bae8905f5ae3b5ae45b4
parent4f5e298075f512d2ca3376ff35d6710b7317024b
Use the "if 1:" prefix so that quoted code appears nicely
nested inside the test suite.

def test_me():
    exec("""if 1:
        ...code...
        """)

No other change here.
Lib/test/test_scope.py