changeset: 100733:e2c482b60776 user: Victor Stinner date: Fri Mar 25 08:57:16 2016 +0100 files: Lib/test/test_io.py description: Issue #26637: Fix test_io The import machinery now raises a different exception when it fails at Python shutdown. diff -r f0acce8022d1 -r e2c482b60776 Lib/test/test_io.py --- a/Lib/test/test_io.py Thu Mar 24 22:43:23 2016 -0700 +++ b/Lib/test/test_io.py Fri Mar 25 08:57:16 2016 +0100 @@ -3079,8 +3079,7 @@ class PyTextIOWrapperTest(TextIOWrapperTest): io = pyio - #shutdown_error = "LookupError: unknown encoding: ascii" - shutdown_error = "TypeError: 'NoneType' object is not iterable" + shutdown_error = "LookupError: unknown encoding: ascii" class IncrementalNewlineDecoderTest(unittest.TestCase):