unmark unexpectedFailures related to posonly args tests

This commit is contained in:
Jeong YunWon
2021-11-21 09:36:16 +09:00
parent 78f3ef27f0
commit a0450aa656
3 changed files with 0 additions and 6 deletions

View File

@@ -500,8 +500,6 @@ class TestPartialMethod(unittest.TestCase):
a = A()
# TODO: RUSTPYTHON
@unittest.expectedFailure
def test_arg_combinations(self):
self.assertEqual(self.a.nothing(), ((self.a,), {}))
self.assertEqual(self.a.nothing(5), ((self.a, 5), {}))

View File

@@ -318,8 +318,6 @@ class PositionalOnlyTestCase(unittest.TestCase):
with self.assertRaisesRegex(TypeError, r"g\(\) takes 2 positional arguments but 3 were given"):
f(1,2)(3,4,5)
# TODO: RUSTPYTHON
@unittest.expectedFailure
def test_same_keyword_as_positional_with_kwargs(self):
def f(something,/,**kwargs):
return (something, kwargs)

View File

@@ -3739,8 +3739,6 @@ class TypedDictTests(BaseTestCase):
self.assertEqual(Emp.__annotations__, {'name': str, 'id': int})
self.assertEqual(Emp.__total__, True)
# TODO: RUSTPYTHON
@unittest.expectedFailure
def test_typeddict_special_keyword_names(self):
TD = TypedDict("TD", cls=type, self=object, typename=str, _typename=int, fields=list, _fields=dict)
self.assertEqual(TD.__name__, 'TD')