summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2016-04-12 18:33:41 +0200
committerVictor Stinner <victor.stinner@gmail.com>2016-04-12 18:33:41 +0200
commitc6ec54d8eb47e685dfcc489d4c6e2a78bb817ef0 (patch)
treeb4d1634cf6bffcedd92bc7468bbe21b1b2ffc670
parent7ff033bd6251625ef6da4ab9ec6259c34fbf3f8d (diff)
downloadcpython-git-c6ec54d8eb47e685dfcc489d4c6e2a78bb817ef0.tar.gz
Issue #26647: Fix typo in test_grammar
Patch written by Demur Rumed.
-rw-r--r--Lib/test/test_grammar.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_grammar.py b/Lib/test/test_grammar.py
index ec3d7833f7..d68cc7da7c 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