diff options
Diffstat (limited to 'Lib/test/test_ast.py')
-rw-r--r-- | Lib/test/test_ast.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/test/test_ast.py b/Lib/test/test_ast.py index 80d24e9..249e4bf 100644 --- a/Lib/test/test_ast.py +++ b/Lib/test/test_ast.py @@ -702,7 +702,8 @@ class AST_Tests(unittest.TestCase): def test_precedence_enum(self): class _Precedence(enum.IntEnum): """Precedence table that originated from python grammar.""" - TUPLE = enum.auto() + NAMED_EXPR = enum.auto() # <target> := <expr1> + TUPLE = enum.auto() # <expr1>, <expr2> YIELD = enum.auto() # 'yield', 'yield from' TEST = enum.auto() # 'if'-'else', 'lambda' OR = enum.auto() # 'or' |