diff --git a/Lib/test/test_typing.py b/Lib/test/test_typing.py index 1038e8c1d..7ec64ea5c 100644 --- a/Lib/test/test_typing.py +++ b/Lib/test/test_typing.py @@ -4359,7 +4359,6 @@ class ProtocolTests(BaseTestCase): 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): @@ -4377,7 +4376,6 @@ class ProtocolTests(BaseTestCase): 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):