diff options
author | Batuhan Taskaya <batuhanosmantaskaya@gmail.com> | 2020-05-06 17:29:32 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-06 15:29:32 +0100 |
commit | 091951a67c832db83c60f4eb22f1fb474b70e635 (patch) | |
tree | 67fa56ccc7099d080ac19460d82a68b7f685b8ff /Lib/test/test_ast.py | |
parent | 2668a9a5aa506a048aef7b4881c8dcf6b81c6870 (diff) | |
download | cpython-git-091951a67c832db83c60f4eb22f1fb474b70e635.tar.gz |
bpo-40528: Improve and clear several aspects of the ASDL definition code for the AST (GH-19952)
Diffstat (limited to 'Lib/test/test_ast.py')
-rw-r--r-- | Lib/test/test_ast.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_ast.py b/Lib/test/test_ast.py index a8a13fdcd7..6b71adac4e 100644 --- a/Lib/test/test_ast.py +++ b/Lib/test/test_ast.py @@ -597,7 +597,7 @@ class AST_Tests(unittest.TestCase): empty_yield_from.body[0].body[0].value.value = None with self.assertRaises(ValueError) as cm: compile(empty_yield_from, "<test>", "exec") - self.assertIn("field value is required", str(cm.exception)) + self.assertIn("field 'value' is required", str(cm.exception)) @support.cpython_only def test_issue31592(self): |