Add another for in one line test for the fast parser.

This commit is contained in:
Dave Halter
2015-02-15 20:28:59 +01:00
parent db31e0e37d
commit 3680784234

View File

@@ -269,6 +269,15 @@ def test_for_on_one_line():
""") """)
check_fp(src, 2) check_fp(src, 2)
src = dedent("""\
def hi():
for x in foo: pass
pass
pass
""")
check_fp(src, 2)
def test_wrong_indentation(): def test_wrong_indentation():
src = dedent("""\ src = dedent("""\