Fixes expected error when getting encoding while shutting down.

This commit is contained in:
Steve Dower 2016-09-09 09:21:01 -07:00
parent 4db86bc1b4
commit 6d5cf8a73e
1 changed files with 1 additions and 1 deletions

View 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):