summaryrefslogtreecommitdiff
path: root/Lib/test/test_io.py
diff options
context:
space:
mode:
authorSteve Dower <steve.dower@microsoft.com>2016-09-09 09:21:01 -0700
committerSteve Dower <steve.dower@microsoft.com>2016-09-09 09:21:01 -0700
commit25a17c0525559046dd33e42b2750d929fdb02732 (patch)
tree97ca62e48fe6edcd040d3012d4479c48242c26d2 /Lib/test/test_io.py
parente74ae1493c69617408dcd5769b110b8e1ad8a468 (diff)
downloadcpython-25a17c0525559046dd33e42b2750d929fdb02732.tar.gz
Fixes expected error when getting encoding while shutting down.
Diffstat (limited to 'Lib/test/test_io.py')
-rw-r--r--Lib/test/test_io.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_io.py b/Lib/test/test_io.py
index 1115d9f1c2..c48ec3a239 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):