Skip to content

Commit 34fe444

Browse files
committed
mark typing
1 parent ede9a98 commit 34fe444

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

Lib/test/test_typing.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4359,7 +4359,6 @@ def __release_buffer__(self, mv: memoryview) -> None:
43594359
self.assertNotIsSubclass(C, ReleasableBuffer)
43604360
self.assertNotIsInstance(C(), ReleasableBuffer)
43614361

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

4380-
@unittest.expectedFailure # TODO: RUSTPYTHON; AttributeError: module 'io' has no attribute 'Writer'
43814379
def test_io_writer_protocol_allowed(self):
43824380
@runtime_checkable
43834381
class CustomWriter(io.Writer[bytes], Protocol):

0 commit comments

Comments
 (0)