diff options
author | Benjamin Peterson <benjamin@python.org> | 2016-09-07 15:54:35 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2016-09-07 15:54:35 (GMT) |
commit | e2ffe29738edc4a643d7f14842c10eeeee273bec (patch) | |
tree | d3695e5b5357d525f026ef71174a6b60275a0673 | |
parent | 9d2617bec001250781d26625f73907372832b8a7 (diff) | |
download | cpython-e2ffe29738edc4a643d7f14842c10eeeee273bec.zip cpython-e2ffe29738edc4a643d7f14842c10eeeee273bec.tar.gz cpython-e2ffe29738edc4a643d7f14842c10eeeee273bec.tar.bz2 |
new and exciting shutdown error on windows
-rw-r--r-- | Lib/test/test_io.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/test/test_io.py b/Lib/test/test_io.py index c48ec3a..f9f5d7a 100644 --- a/Lib/test/test_io.py +++ b/Lib/test/test_io.py @@ -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") |