Patch failing tests in test_typing.py

This commit is contained in:
ShaharNaveh committed 2025-10-22 10:57:47 +03:00
1 parent 9557acb1c3
commit 3f7deb49c8
1 file changed
+1
+1
View File
@@ -5715,6 +5715,7 @@ class GenericTests(BaseTestCase):
with self.assertRaises(TypeError):
a[int]
@unittest.expectedFailure # TODO: RUSTPYTHON; AssertionError: ".+__typing_subst__.+tuple.+int.*" does not match "'TypeAliasType' object is not subscriptable"
def test_return_non_tuple_while_unpacking(self):
# GH-138497: GenericAlias objects didn't ensure that __typing_subst__ actually
# returned a tuple