From cdaa222ac3617c6c7ba162921d9237c2d4fb10e9 Mon Sep 17 00:00:00 2001 From: Daniel Chiquito Date: Thu, 21 Mar 2024 13:55:19 -0400 Subject: [PATCH] Skip typing test which causes other failures --- Lib/test/test_typing.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Lib/test/test_typing.py b/Lib/test/test_typing.py index 95fd3748e6..b6a167f998 100644 --- a/Lib/test/test_typing.py +++ b/Lib/test/test_typing.py @@ -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')