From: Steve Dower Date: Thu, 8 Sep 2016 00:51:30 +0000 (-0700) Subject: Fix expected error message in PyTextIOWrapperTest X-Git-Tag: v3.6.0b1~310 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4cf7e482a0c54bbdb243c008cc376a5cd8eb7303;p=thirdparty%2FPython%2Fcpython.git Fix expected error message in PyTextIOWrapperTest --- diff --git a/Lib/test/test_io.py b/Lib/test/test_io.py index c48ec3a23966..1115d9f1c284 100644 --- a/Lib/test/test_io.py +++ b/Lib/test/test_io.py @@ -3276,7 +3276,7 @@ class CTextIOWrapperTest(TextIOWrapperTest): class PyTextIOWrapperTest(TextIOWrapperTest): io = pyio - shutdown_error = "LookupError: unknown encoding: ascii" + shutdown_error = "ImportError: sys.meta_path is None, Python is likely shutting down" class IncrementalNewlineDecoderTest(unittest.TestCase):