@@ -149,8 +149,6 @@ def foo(): return 4
149
149
self .assertEqual (D .foo (), 4 )
150
150
self .assertEqual (D ().foo (), 4 )
151
151
152
- # TODO: RUSTPYTHON
153
- @unittest .expectedFailure
154
152
def test_object_new_with_one_abstractmethod (self ):
155
153
class C (metaclass = abc_ABCMeta ):
156
154
@abc .abstractmethod
@@ -159,8 +157,6 @@ def method_one(self):
159
157
msg = r"class C without an implementation for abstract method 'method_one'"
160
158
self .assertRaisesRegex (TypeError , msg , C )
161
159
162
- # TODO: RUSTPYTHON
163
- @unittest .expectedFailure
164
160
def test_object_new_with_many_abstractmethods (self ):
165
161
class C (metaclass = abc_ABCMeta ):
166
162
@abc .abstractmethod
@@ -526,8 +522,6 @@ def foo(self):
526
522
self .assertEqual (A .__abstractmethods__ , set ())
527
523
A ()
528
524
529
- # TODO: RUSTPYTHON
530
- @unittest .expectedFailure
531
525
def test_update_new_abstractmethods (self ):
532
526
class A (metaclass = abc_ABCMeta ):
533
527
@abc .abstractmethod
@@ -544,8 +538,6 @@ def updated_foo(self):
544
538
msg = "class A without an implementation for abstract methods 'bar', 'foo'"
545
539
self .assertRaisesRegex (TypeError , msg , A )
546
540
547
- # TODO: RUSTPYTHON
548
- @unittest .expectedFailure
549
541
def test_update_implementation (self ):
550
542
class A (metaclass = abc_ABCMeta ):
551
543
@abc .abstractmethod
@@ -597,8 +589,6 @@ def updated_foo(self):
597
589
A ()
598
590
self .assertFalse (hasattr (A , '__abstractmethods__' ))
599
591
600
- # TODO: RUSTPYTHON
601
- @unittest .expectedFailure
602
592
def test_update_del_implementation (self ):
603
593
class A (metaclass = abc_ABCMeta ):
604
594
@abc .abstractmethod
@@ -618,8 +608,6 @@ def foo(self):
618
608
msg = "class B without an implementation for abstract method 'foo'"
619
609
self .assertRaisesRegex (TypeError , msg , B )
620
610
621
- # TODO: RUSTPYTHON
622
- @unittest .expectedFailure
623
611
def test_update_layered_implementation (self ):
624
612
class A (metaclass = abc_ABCMeta ):
625
613
@abc .abstractmethod
0 commit comments