Skip to content

Commit a0450aa

Browse files
committed
unmark unexpectedFailures related to posonly args tests
1 parent 78f3ef2 commit a0450aa

3 files changed

Lines changed: 0 additions & 6 deletions

File tree

Lib/test/test_functools.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -500,8 +500,6 @@ class A(object):
500500

501501
a = A()
502502

503-
# TODO: RUSTPYTHON
504-
@unittest.expectedFailure
505503
def test_arg_combinations(self):
506504
self.assertEqual(self.a.nothing(), ((self.a,), {}))
507505
self.assertEqual(self.a.nothing(5), ((self.a, 5), {}))

Lib/test/test_positional_only_arg.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -318,8 +318,6 @@ def g(x2,/,y2):
318318
with self.assertRaisesRegex(TypeError, r"g\(\) takes 2 positional arguments but 3 were given"):
319319
f(1,2)(3,4,5)
320320

321-
# TODO: RUSTPYTHON
322-
@unittest.expectedFailure
323321
def test_same_keyword_as_positional_with_kwargs(self):
324322
def f(something,/,**kwargs):
325323
return (something, kwargs)

Lib/test/test_typing.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3739,8 +3739,6 @@ def test_basics_keywords_syntax(self):
37393739
self.assertEqual(Emp.__annotations__, {'name': str, 'id': int})
37403740
self.assertEqual(Emp.__total__, True)
37413741

3742-
# TODO: RUSTPYTHON
3743-
@unittest.expectedFailure
37443742
def test_typeddict_special_keyword_names(self):
37453743
TD = TypedDict("TD", cls=type, self=object, typename=str, _typename=int, fields=list, _fields=dict)
37463744
self.assertEqual(TD.__name__, 'TD')

0 commit comments

Comments
 (0)