summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_io.py
diff options
context:
space:
mode:
authorSteve Dower <steve.dower@microsoft.com>2016-09-09 16:21:01 (GMT)
committerSteve Dower <steve.dower@microsoft.com>2016-09-09 16:21:01 (GMT)
commit6d5cf8a73e02a9b002323e4d72169d89782a4115 (patch)
treee8d8e52d7662754ae1c63ffcbbab86c9cfec1cbe /Lib/test/test_io.py
parent4db86bc1b465d6e5fa047ddafb9042fc12787459 (diff)
downloadcpython-6d5cf8a73e02a9b002323e4d72169d89782a4115.zip
cpython-6d5cf8a73e02a9b002323e4d72169d89782a4115.tar.gz
cpython-6d5cf8a73e02a9b002323e4d72169d89782a4115.tar.bz2
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 1115d9f..c48ec3a 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):