mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
new and exciting shutdown error on windows
This commit is contained in:
parent
9d2617bec0
commit
e2ffe29738
1 changed files with 2 additions and 1 deletions
|
@ -3230,7 +3230,8 @@ def _to_memoryview(buf):
|
|||
|
||||
class CTextIOWrapperTest(TextIOWrapperTest):
|
||||
io = io
|
||||
shutdown_error = "RuntimeError: could not find io module state"
|
||||
shutdown_error = ("ImportError: sys.meta_path is None"
|
||||
if os.name == "nt" else "RuntimeError: could not find io module state")
|
||||
|
||||
def test_initialization(self):
|
||||
r = self.BytesIO(b"\xc3\xa9\n\n")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue