diff options
author | doko@ubuntu.com <doko@ubuntu.com> | 2014-05-13 09:28:12 (GMT) |
---|---|---|
committer | doko@ubuntu.com <doko@ubuntu.com> | 2014-05-13 09:28:12 (GMT) |
commit | 15bec9cb3f317aa9e637735e5ea6061bd0e145c2 (patch) | |
tree | 51f0880a9c320d073a3b89f59b20259bddcb2273 /Lib | |
parent | 8cc67a1b42fb7fa3d257ee61d40008a04f64681d (diff) | |
download | cpython-15bec9cb3f317aa9e637735e5ea6061bd0e145c2.zip cpython-15bec9cb3f317aa9e637735e5ea6061bd0e145c2.tar.gz cpython-15bec9cb3f317aa9e637735e5ea6061bd0e145c2.tar.bz2 |
- Issue #17756: Fix test_code test when run from the installed location.
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/test/test_code_module.py | 2 |
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") |