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
mark typing
  • Loading branch information
youknowone committed Feb 13, 2026
commit 8f0c6e95089321f3f1a5948a516d1992e936a7b5
2 changes: 0 additions & 2 deletions Lib/test/test_typing.py
Original file line number Diff line number Diff line change
Expand Up @@ -4359,7 +4359,6 @@ def __release_buffer__(self, mv: memoryview) -> None:
self.assertNotIsSubclass(C, ReleasableBuffer)
self.assertNotIsInstance(C(), ReleasableBuffer)

@unittest.expectedFailure # TODO: RUSTPYTHON; AttributeError: module 'io' has no attribute 'Reader'
def test_io_reader_protocol_allowed(self):
@runtime_checkable
class CustomReader(io.Reader[bytes], Protocol):
Expand All @@ -4377,7 +4376,6 @@ def close(self):
self.assertNotIsSubclass(A, CustomReader)
self.assertNotIsInstance(A(), CustomReader)

@unittest.expectedFailure # TODO: RUSTPYTHON; AttributeError: module 'io' has no attribute 'Writer'
def test_io_writer_protocol_allowed(self):
@runtime_checkable
class CustomWriter(io.Writer[bytes], Protocol):
Expand Down
Loading