Commit 700d741a authored by doko's avatar doko

- Issue #17756: Fix test_code test when run from the installed location.

parent 972f944f
......@@ -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")
......
......@@ -32,6 +32,8 @@ Library
Tests
-----
- Issue #17756: Fix test_code test when run from the installed location.
- Issue #17752: Fix distutils tests when run from the installed location.
IDLE
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment