@@ -467,8 +467,6 @@ def test_cannot_instantiate(self):
467
467
with self .assertRaises (TypeError ):
468
468
type (c )()
469
469
470
- # TODO: RUSTPYTHON
471
- @unittest .expectedFailure
472
470
def test_callable_wrong_forms (self ):
473
471
Callable = self .Callable
474
472
with self .assertRaises (TypeError ):
@@ -546,8 +544,6 @@ def test_pickle(self):
546
544
self .assertEqual (alias .__args__ , loaded .__args__ )
547
545
self .assertEqual (alias .__parameters__ , loaded .__parameters__ )
548
546
549
- # TODO: RUSTPYTHON
550
- @unittest .expectedFailure
551
547
def test_var_substitution (self ):
552
548
Callable = self .Callable
553
549
fullname = f"{ Callable .__module__ } .Callable"
@@ -579,8 +575,6 @@ def __call__(self):
579
575
self .assertIs (a ().__class__ , C1 )
580
576
self .assertEqual (a ().__orig_class__ , C1 [[int ], T ])
581
577
582
- # TODO: RUSTPYTHON
583
- @unittest .expectedFailure
584
578
def test_paramspec (self ):
585
579
Callable = self .Callable
586
580
fullname = f"{ Callable .__module__ } .Callable"
@@ -615,8 +609,6 @@ def test_paramspec(self):
615
609
self .assertEqual (repr (C2 ), f"{ fullname } [~P, int]" )
616
610
self .assertEqual (repr (C2 [int , str ]), f"{ fullname } [[int, str], int]" )
617
611
618
- # TODO: RUSTPYTHON
619
- @unittest .expectedFailure
620
612
def test_concatenate (self ):
621
613
Callable = self .Callable
622
614
fullname = f"{ Callable .__module__ } .Callable"
@@ -625,8 +617,6 @@ def test_concatenate(self):
625
617
self .assertEqual (repr (C1 ),
626
618
f"{ fullname } [typing.Concatenate[int, ~P], int]" )
627
619
628
- # TODO: RUSTPYTHON
629
- @unittest .expectedFailure
630
620
def test_errors (self ):
631
621
Callable = self .Callable
632
622
alias = Callable [[int , str ], float ]
@@ -2129,8 +2119,6 @@ def test_all_repr_eq_any(self):
2129
2119
self .assertNotEqual (repr (base ), '' )
2130
2120
self .assertEqual (base , base )
2131
2121
2132
- # TODO: RUSTPYTHON
2133
- @unittest .expectedFailure
2134
2122
def test_pickle (self ):
2135
2123
global C # pickle wants to reference the class by name
2136
2124
T = TypeVar ('T' )
0 commit comments