Skip to content

Commit 3f7deb4

Browse files
committed
Patch failing tests in test_typing.py
1 parent 9557acb commit 3f7deb4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Lib/test/test_typing.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5715,6 +5715,7 @@ class A:
57155715
with self.assertRaises(TypeError):
57165716
a[int]
57175717

5718+
@unittest.expectedFailure # TODO: RUSTPYTHON; AssertionError: ".+__typing_subst__.+tuple.+int.*" does not match "'TypeAliasType' object is not subscriptable"
57185719
def test_return_non_tuple_while_unpacking(self):
57195720
# GH-138497: GenericAlias objects didn't ensure that __typing_subst__ actually
57205721
# returned a tuple

0 commit comments

Comments
 (0)