]> granicus.if.org Git - python/commitdiff
Fixes expected error when getting encoding while shutting down.
authorSteve Dower <steve.dower@microsoft.com>
Fri, 9 Sep 2016 16:21:01 +0000 (09:21 -0700)
committerSteve Dower <steve.dower@microsoft.com>
Fri, 9 Sep 2016 16:21:01 +0000 (09:21 -0700)
Lib/test/test_io.py

index 1115d9f1c284f9c453b30ea89d918d1ded0be40e..c48ec3a23966952d8cec933788ecdbd1aee79c70 100644 (file)
@@ -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):