- Issue #17756: Fix test_code test when run from the installed location.
This commit is contained in:
parent
8cc67a1b42
commit
15bec9cb3f
@ -51,7 +51,7 @@ class TestInteractiveConsole(unittest.TestCase):
|
|||||||
self.infunc.side_effect = ["undefined", EOFError('Finished')]
|
self.infunc.side_effect = ["undefined", EOFError('Finished')]
|
||||||
self.console.interact()
|
self.console.interact()
|
||||||
for call in self.stderr.method_calls:
|
for call in self.stderr.method_calls:
|
||||||
if 'NameError:' in ''.join(call[1]):
|
if 'NameError' in ''.join(call[1]):
|
||||||
break
|
break
|
||||||
else:
|
else:
|
||||||
raise AssertionError("No syntax error from console")
|
raise AssertionError("No syntax error from console")
|
||||||
|
@ -32,6 +32,8 @@ Library
|
|||||||
Tests
|
Tests
|
||||||
-----
|
-----
|
||||||
|
|
||||||
|
- Issue #17756: Fix test_code test when run from the installed location.
|
||||||
|
|
||||||
- Issue #17752: Fix distutils tests when run from the installed location.
|
- Issue #17752: Fix distutils tests when run from the installed location.
|
||||||
|
|
||||||
IDLE
|
IDLE
|
||||||
|
Loading…
x
Reference in New Issue
Block a user