Visitar URL original
gh-101819: Adapt _io types to heap types, batch 1 by erlend-aasland · Pull Request #101949 · python/cpython · GitHub
Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix tests on Windows
  • Loading branch information
erlend-aasland committed Feb 16, 2023
commit 471ae9fb4d4cd7dd48acf216fdec1dfa16e25cb0
4 changes: 2 additions & 2 deletions Lib/test/test_io.py
Original file line number Diff line number Diff line change
Expand Up @@ -1046,7 +1046,7 @@ def close(self):
class TestIOCTypes(unittest.TestCase):
def setUp(self):
_io = import_helper.import_module("_io")
self.types = (
self.types = [
_io.BufferedRWPair,
_io.BufferedRandom,
_io.BufferedReader,
Expand All @@ -1061,7 +1061,7 @@ def setUp(self):
_io._IOBase,
_io._RawIOBase,
_io._TextIOBase,
)
]
if sys.platform == "win32":
self.types.append(_io._WindowsConsoleIO)
self._io = _io
Expand Down