Skip to content

Skip typing test which causes other failures #5207

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 22, 2024
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