From d2c8e4e12cfd0729a0a4cb269e5ee4e97b79d430 Mon Sep 17 00:00:00 2001 From: rocky Date: Sun, 25 Mar 2018 20:52:28 -0400 Subject: [PATCH] Adjust test_grammar for recent changes --- pytest/test_grammar.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pytest/test_grammar.py b/pytest/test_grammar.py index 75aef48b..8dd7108a 100644 --- a/pytest/test_grammar.py +++ b/pytest/test_grammar.py @@ -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