mirror of
https://github.com/RustPython/RustPython.git
synced 2026-06-09 22:49:57 +09:00
unmark unexpectedFailures related to posonly args tests
This commit is contained in:
2
Lib/test/test_functools.py
vendored
2
Lib/test/test_functools.py
vendored
@@ -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), {}))
|
||||
|
||||
2
Lib/test/test_positional_only_arg.py
vendored
2
Lib/test/test_positional_only_arg.py
vendored
@@ -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)
|
||||
|
||||
2
Lib/test/test_typing.py
vendored
2
Lib/test/test_typing.py
vendored
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user