diff --git a/Lib/test/test_io.py b/Lib/test/test_io.py index 86440c5b39b..37b9b2d3a4e 100644 --- a/Lib/test/test_io.py +++ b/Lib/test/test_io.py @@ -3079,8 +3079,7 @@ def test_rwpair_cleared_before_textio(self): 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):