mark typing

This commit is contained in:
Jeong, YunWon committed 2026-02-13 14:13:30 +09:00
1 parent d8276943d7
commit f1282f8553
1 file changed
-2
-2
View File
@@ -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):