mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
Fixes expected error when getting encoding while shutting down.
This commit is contained in:
parent
4db86bc1b4
commit
6d5cf8a73e
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue