diff --git a/Lib/test/test_grammar.py b/Lib/test/test_grammar.py index ec3d7833f7e..d68cc7da7ca 100644 --- a/Lib/test/test_grammar.py +++ b/Lib/test/test_grammar.py @@ -994,7 +994,7 @@ class GrammarTests(unittest.TestCase): # Test ifelse expressions in various cases def _checkeval(msg, ret): "helper to check that evaluation of expressions is done correctly" - print(x) + print(msg) return ret # the next line is not allowed anymore