Skip to content
Merged
Changes from all commits
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
4 changes: 4 additions & 0 deletions Lib/test/test_typing.py
Original file line number Diff line number Diff line change
Expand Up @@ -1466,6 +1466,10 @@ def __new__(cls, *args):
with self.assertRaises(TypeError):
C[int](a=42)

# TODO: RUSTPYTHON the last line breaks any tests that use unittest.mock
# See https://github.com/RustPython/RustPython/issues/5190#issuecomment-2010535802
# It's possible that updating typing to 3.12 will resolve this
@unittest.skip("TODO: RUSTPYTHON this test breaks other tests that use unittest.mock")
def test_protocols_bad_subscripts(self):
T = TypeVar('T')
S = TypeVar('S')
Expand Down