]> granicus.if.org Git - python/commitdiff
Issue #26647: Fix typo in test_grammar
authorVictor Stinner <victor.stinner@gmail.com>
Tue, 12 Apr 2016 16:33:41 +0000 (18:33 +0200)
committerVictor Stinner <victor.stinner@gmail.com>
Tue, 12 Apr 2016 16:33:41 +0000 (18:33 +0200)
Patch written by Demur Rumed.

Lib/test/test_grammar.py

index ec3d7833f7ea5cedcc94b2248afb44e92fd5dc7b..d68cc7da7ca37cd0890067c20b576c422edd8630 100644 (file)
@@ -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