Hack around grammar weakness in 3.5..3.6 for now

This commit is contained in:
rocky
2020-01-25 09:46:34 -05:00
parent f6f2d8dd05
commit 58f2e19539
3 changed files with 10 additions and 1 deletions

View File

@@ -27,6 +27,9 @@ def test_grammar():
expect_lhs.add("attribute")
expect_lhs.add("get_iter")
if PYTHON_VERSION > 3.7 or PYTHON_VERSION < 3.0:
expect_lhs.add("stmts_opt")
else:
expect_lhs.add("async_with_as_stmt")
expect_lhs.add("async_with_stmt")