diff --git a/test/test_parser/test_fast_parser.py b/test/test_parser/test_fast_parser.py index cfa9772a..f956f1e0 100644 --- a/test/test_parser/test_fast_parser.py +++ b/test/test_parser/test_fast_parser.py @@ -269,6 +269,15 @@ def test_for_on_one_line(): """) check_fp(src, 2) + src = dedent("""\ + def hi(): + for x in foo: pass + pass + + pass + """) + check_fp(src, 2) + def test_wrong_indentation(): src = dedent("""\