More 2-x grammar test fixes

This commit is contained in:
rocky
2024-02-04 15:05:47 -05:00
parent ad16ed69eb
commit d01a047dfd
2 changed files with 14 additions and 4 deletions

View File

@@ -29,6 +29,9 @@ class TestGrammar(unittest.TestCase):
)
expect_lhs.add("kwarg")
if PYTHON_VERSION_TRIPLE[:2] <= (3, 6):
unused_rhs.add("call")
if PYTHON_VERSION_TRIPLE[:2] == (2, 7):
expect_lhs.add("kv3")
expect_lhs.add("kvlist")