Adjust test_grammar for recent changes

This commit is contained in:
rocky
2018-03-25 20:52:28 -04:00
parent 626f690a5a
commit d2c8e4e12c

View File

@@ -31,7 +31,7 @@ def test_grammar():
expect_lhs.add('kv3')
unused_rhs = unused_rhs.union(set("""
except_pop_except generator_exp classdefdeco2
except_pop_except generator_exp
dict
""".split()))
if PYTHON_VERSION >= 3.0:
@@ -39,6 +39,8 @@ def test_grammar():
expect_lhs.add("annotate_tuple")
unused_rhs.add("mkfunc_annotate")
unused_rhs.add('call')
unused_rhs.add("dict_comp")
unused_rhs.add("classdefdeco1")
if PYTHON_VERSION < 3.6:
# 3.6 has at least one non-custom call rule
# the others don't