Skip to content

Commit 0468d0c

Browse files
committed
Unmark tests not failed
1 parent 0b5ceb8 commit 0468d0c

File tree

3 files changed

+0
-16
lines changed

3 files changed

+0
-16
lines changed

Lib/test/test_abc.py

-2
Original file line numberDiff line numberDiff line change
@@ -172,8 +172,6 @@ def method_two(self):
172172
msg = r"class C with abstract methods method_one, method_two"
173173
self.assertRaisesRegex(TypeError, msg, C)
174174

175-
# TODO: RUSTPYTHON
176-
@unittest.expectedFailure
177175
def test_abstractmethod_integration(self):
178176
for abstractthing in [abc.abstractmethod, abc.abstractproperty,
179177
abc.abstractclassmethod,

Lib/test/test_genericalias.py

-2
Original file line numberDiff line numberDiff line change
@@ -303,8 +303,6 @@ def test_union(self):
303303
self.assertEqual(a.__args__, (list[int], list[str]))
304304
self.assertEqual(a.__parameters__, ())
305305

306-
# TODO: RUSTPYTHON
307-
@unittest.expectedFailure
308306
def test_union_generic(self):
309307
a = typing.Union[list[T], tuple[T, ...]]
310308
self.assertEqual(a.__args__, (list[T], tuple[T, ...]))

Lib/test/test_typing.py

-12
Original file line numberDiff line numberDiff line change
@@ -467,8 +467,6 @@ def test_cannot_instantiate(self):
467467
with self.assertRaises(TypeError):
468468
type(c)()
469469

470-
# TODO: RUSTPYTHON
471-
@unittest.expectedFailure
472470
def test_callable_wrong_forms(self):
473471
Callable = self.Callable
474472
with self.assertRaises(TypeError):
@@ -546,8 +544,6 @@ def test_pickle(self):
546544
self.assertEqual(alias.__args__, loaded.__args__)
547545
self.assertEqual(alias.__parameters__, loaded.__parameters__)
548546

549-
# TODO: RUSTPYTHON
550-
@unittest.expectedFailure
551547
def test_var_substitution(self):
552548
Callable = self.Callable
553549
fullname = f"{Callable.__module__}.Callable"
@@ -579,8 +575,6 @@ def __call__(self):
579575
self.assertIs(a().__class__, C1)
580576
self.assertEqual(a().__orig_class__, C1[[int], T])
581577

582-
# TODO: RUSTPYTHON
583-
@unittest.expectedFailure
584578
def test_paramspec(self):
585579
Callable = self.Callable
586580
fullname = f"{Callable.__module__}.Callable"
@@ -615,8 +609,6 @@ def test_paramspec(self):
615609
self.assertEqual(repr(C2), f"{fullname}[~P, int]")
616610
self.assertEqual(repr(C2[int, str]), f"{fullname}[[int, str], int]")
617611

618-
# TODO: RUSTPYTHON
619-
@unittest.expectedFailure
620612
def test_concatenate(self):
621613
Callable = self.Callable
622614
fullname = f"{Callable.__module__}.Callable"
@@ -625,8 +617,6 @@ def test_concatenate(self):
625617
self.assertEqual(repr(C1),
626618
f"{fullname}[typing.Concatenate[int, ~P], int]")
627619

628-
# TODO: RUSTPYTHON
629-
@unittest.expectedFailure
630620
def test_errors(self):
631621
Callable = self.Callable
632622
alias = Callable[[int, str], float]
@@ -2129,8 +2119,6 @@ def test_all_repr_eq_any(self):
21292119
self.assertNotEqual(repr(base), '')
21302120
self.assertEqual(base, base)
21312121

2132-
# TODO: RUSTPYTHON
2133-
@unittest.expectedFailure
21342122
def test_pickle(self):
21352123
global C # pickle wants to reference the class by name
21362124
T = TypeVar('T')

0 commit comments

Comments
 (0)