summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteve Dower <steve.dower@microsoft.com>2016-09-08 00:51:30 (GMT)
committerSteve Dower <steve.dower@microsoft.com>2016-09-08 00:51:30 (GMT)
commit4cf7e482a0c54bbdb243c008cc376a5cd8eb7303 (patch)
tree442f9a54ce45122eaa15e981e0bd6e2fba7b60bf
parent627b7556e82f9a4afbc2221a8c273a74ccc7d8b3 (diff)
downloadcpython-4cf7e482a0c54bbdb243c008cc376a5cd8eb7303.zip
cpython-4cf7e482a0c54bbdb243c008cc376a5cd8eb7303.tar.gz
cpython-4cf7e482a0c54bbdb243c008cc376a5cd8eb7303.tar.bz2
Fix expected error message in PyTextIOWrapperTest
-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 c48ec3a..1115d9f 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):