Skip to content

Commit df363c0

Browse files
authored
Skip typing test which causes other failures (#5207)
1 parent 90724b3 commit df363c0

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Lib/test/test_typing.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1466,6 +1466,10 @@ def __new__(cls, *args):
14661466
with self.assertRaises(TypeError):
14671467
C[int](a=42)
14681468

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

0 commit comments

Comments
 (0)