@@ -388,7 +388,8 @@ class CC(metaclass=CMeta):
388
388
XX : 'ANNOT'
389
389
self .assertEqual (CC .__annotations__ ['xx' ], 'ANNOT' )
390
390
391
- @unittest .skip ("TODO: RUSTPYTHON" )
391
+ # TODO: RUSTPYTHON
392
+ @unittest .expectedFailure
392
393
def test_var_annot_module_semantics (self ):
393
394
with self .assertRaises (AttributeError ):
394
395
print (test .__annotations__ )
@@ -398,7 +399,8 @@ def test_var_annot_module_semantics(self):
398
399
{'123' : 123 , 'o' : type })
399
400
self .assertEqual (ann_module2 .__annotations__ , {})
400
401
401
- @unittest .skip ("TODO: RUSTPYTHON" )
402
+ # TODO: RUSTPYTHON
403
+ @unittest .expectedFailure
402
404
def test_var_annot_in_module (self ):
403
405
# check that functions fail the same way when executed
404
406
# outside of module where they were defined
@@ -1187,7 +1189,8 @@ def test_assert(self):
1187
1189
self .fail ("'assert True, msg' should not have "
1188
1190
"raised an AssertionError" )
1189
1191
1190
- @unittest .skip ("TODO: RUSTPYTHON" )
1192
+ # TODO: RUSTPYTHON
1193
+ @unittest .expectedFailure
1191
1194
# these tests fail if python is run with -O, so check __debug__
1192
1195
@unittest .skipUnless (__debug__ , "Won't work if __debug__ is False" )
1193
1196
def testAssert2 (self ):
0 commit comments