@@ -678,7 +678,7 @@ def __del__(self):
678678 fut = self ._new_future (loop = self .loop )
679679 fut .set_result (Evil ())
680680
681- @unittest .skip ( ' TODO: RUSTPYTHON; NotImplementedError' )
681+ @unittest .expectedFailure # TODO: RUSTPYTHON; NotImplementedError
682682 def test_future_cancelled_result_refcycles (self ):
683683 f = self ._new_future (loop = self .loop )
684684 f .cancel ()
@@ -690,7 +690,7 @@ def test_future_cancelled_result_refcycles(self):
690690 self .assertIsNotNone (exc )
691691 self .assertListEqual (gc .get_referrers (exc ), [])
692692
693- @unittest .skip ( ' TODO: RUSTPYTHON; NotImplementedError' )
693+ @unittest .expectedFailure # TODO: RUSTPYTHON; NotImplementedError
694694 def test_future_cancelled_exception_refcycles (self ):
695695 f = self ._new_future (loop = self .loop )
696696 f .cancel ()
@@ -702,7 +702,7 @@ def test_future_cancelled_exception_refcycles(self):
702702 self .assertIsNotNone (exc )
703703 self .assertListEqual (gc .get_referrers (exc ), [])
704704
705- @ unittest . skip ( ' TODO: RUSTPYTHON: CPython specific test' )
705+ # TODO: RUSTPYTHON: CPython specific test
706706@unittest .skipUnless (hasattr (futures , '_CFuture' ),
707707 'requires the C _asyncio module' )
708708class CFutureTests (BaseFutureTests , test_utils .TestCase ):
@@ -744,7 +744,7 @@ def test_callbacks_copy(self):
744744 fut .remove_done_callback (f2 )
745745 self .assertIsNone (fut ._callbacks )
746746
747- @ unittest . skip ( ' TODO: RUSTPYTHON: CPython specific test' )
747+ # TODO: RUSTPYTHON: CPython specific test
748748@unittest .skipUnless (hasattr (futures , '_CFuture' ),
749749 'requires the C _asyncio module' )
750750class CSubFutureTests (BaseFutureTests , test_utils .TestCase ):
@@ -1077,7 +1077,7 @@ def __getattribute__(self, name):
10771077 del fut_callback_0
10781078 self .assertRaises (ReachableCode , fut .set_result , "boom" )
10791079
1080- @ unittest . skip ( ' TODO: RUSTPYTHON: CPython specific test' )
1080+ # TODO: RUSTPYTHON: CPython specific test
10811081@unittest .skipUnless (hasattr (futures , '_CFuture' ),
10821082 'requires the C _asyncio module' )
10831083class CFutureDoneCallbackTests (BaseFutureDoneCallbackTests ,
@@ -1086,7 +1086,7 @@ class CFutureDoneCallbackTests(BaseFutureDoneCallbackTests,
10861086 def _new_future (self ):
10871087 return futures ._CFuture (loop = self .loop )
10881088
1089- @ unittest . skip ( ' TODO: RUSTPYTHON: CPython specific test' )
1089+ # TODO: RUSTPYTHON: CPython specific test
10901090@unittest .skipUnless (hasattr (futures , '_CFuture' ),
10911091 'requires the C _asyncio module' )
10921092class CSubFutureDoneCallbackTests (BaseFutureDoneCallbackTests ,
@@ -1137,7 +1137,7 @@ class PyFutureInheritanceTests(BaseFutureInheritanceTests,
11371137 def _get_future_cls (self ):
11381138 return futures ._PyFuture
11391139
1140- @ unittest . skip ( ' TODO: RUSTPYTHON: CPython specific test' )
1140+ # TODO: RUSTPYTHON: CPython specific test
11411141@unittest .skipUnless (hasattr (futures , '_CFuture' ),
11421142 'requires the C _asyncio module' )
11431143class CFutureInheritanceTests (BaseFutureInheritanceTests ,
0 commit comments