diff options
author | Steve Dower <steve.dower@microsoft.com> | 2016-09-09 16:21:01 (GMT) |
---|---|---|
committer | Steve Dower <steve.dower@microsoft.com> | 2016-09-09 16:21:01 (GMT) |
commit | 6d5cf8a73e02a9b002323e4d72169d89782a4115 (patch) | |
tree | e8d8e52d7662754ae1c63ffcbbab86c9cfec1cbe /Lib/test/test_io.py | |
parent | 4db86bc1b465d6e5fa047ddafb9042fc12787459 (diff) | |
download | cpython-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.py | 2 |
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): |