changeset: 90685:20db5e9086d4 branch: 3.4 parent: 90680:f67cf5747a26 user: doko@ubuntu.com date: Tue May 13 11:28:12 2014 +0200 files: Lib/test/test_code_module.py Misc/NEWS description: - Issue #17756: Fix test_code test when run from the installed location. diff -r f67cf5747a26 -r 20db5e9086d4 Lib/test/test_code_module.py --- a/Lib/test/test_code_module.py Mon May 12 22:01:46 2014 -0700 +++ b/Lib/test/test_code_module.py Tue May 13 11:28:12 2014 +0200 @@ -51,7 +51,7 @@ 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") diff -r f67cf5747a26 -r 20db5e9086d4 Misc/NEWS --- a/Misc/NEWS Mon May 12 22:01:46 2014 -0700 +++ b/Misc/NEWS Tue May 13 11:28:12 2014 +0200 @@ -32,6 +32,8 @@ 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