diff --git a/Lib/test/test_grammar.py b/Lib/test/test_grammar.py index 8f8d71ce85e..331f48c54d0 100644 --- a/Lib/test/test_grammar.py +++ b/Lib/test/test_grammar.py @@ -1032,7 +1032,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