mirror of
https://github.com/python/cpython.git
synced 2025-10-03 13:45:29 +00:00
Merge from 3.4:
- Issue #17756: Fix test_code test when run from the installed location.
This commit is contained in:
commit
987831c945
2 changed files with 3 additions and 1 deletions
|
@ -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")
|
||||
|
|
|
@ -456,6 +456,8 @@ Documentation
|
|||
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 #18604: Consolidated checks for GUI availability. All platforms now
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue