Fixes expected error when getting encoding while shutting down.
This commit is contained in:
parent
4db86bc1b4
commit
6d5cf8a73e
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue