From 6d5cf8a73e02a9b002323e4d72169d89782a4115 Mon Sep 17 00:00:00 2001 From: Steve Dower Date: Fri, 9 Sep 2016 09:21:01 -0700 Subject: [PATCH] Fixes expected error when getting encoding while shutting down. --- Lib/test/test_io.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/test/test_io.py b/Lib/test/test_io.py index 1115d9f1c28..c48ec3a2396 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 = "ImportError: sys.meta_path is None, Python is likely shutting down" + shutdown_error = "LookupError: unknown encoding: ascii" class IncrementalNewlineDecoderTest(unittest.TestCase):