summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_code_module.py
diff options
context:
space:
mode:
authorLarry Hastings <larry@hastings.org>2014-05-18 04:05:10 (GMT)
committerLarry Hastings <larry@hastings.org>2014-05-18 04:05:10 (GMT)
commit3a260d228b32b04a88d947b887bf81759e8e5f10 (patch)
treee4a34e9cbbf877cf021ffba743ddbf54e17526b7 /Lib/test/test_code_module.py
parent2110603344316d927e6d639275c12f5da78601d5 (diff)
parentb1a1ec3151155a1ae65831793b4a5b7a87d9d09f (diff)
downloadcpython-3a260d228b32b04a88d947b887bf81759e8e5f10.zip
cpython-3a260d228b32b04a88d947b887bf81759e8e5f10.tar.gz
cpython-3a260d228b32b04a88d947b887bf81759e8e5f10.tar.bz2
Merge.
Diffstat (limited to 'Lib/test/test_code_module.py')
-rw-r--r--Lib/test/test_code_module.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_code_module.py b/Lib/test/test_code_module.py
index 5fd21dc..7a80a80 100644
--- a/Lib/test/test_code_module.py
+++ b/Lib/test/test_code_module.py
@@ -51,7 +51,7 @@ class TestInteractiveConsole(unittest.TestCase):
self.infunc.side_effect = ["undefined", EOFError('Finished')]
self.console.interact()
for call in self.stderr.method_calls:
- if 'NameError:' in ''.join(call[1]):
+ if 'NameError' in ''.join(call[1]):
break
else:
raise AssertionError("No syntax error from console")