@@ -82,7 +82,6 @@ def check_lnotab(self, code):
8282 # aren't very many tests of lnotab), if peepholer wasn't scheduled
8383 # to be replaced anyway.
8484
85- @unittest .expectedFailure # TODO: RUSTPYTHON; RETURN_VALUE
8685 def test_unot (self ):
8786 # UNARY_NOT POP_JUMP_IF_FALSE --> POP_JUMP_IF_TRUE'
8887 def unot (x ):
@@ -283,7 +282,7 @@ def test_constant_folding_small_int(self):
283282 self .assertNotInBytecode (code , 'LOAD_SMALL_INT' )
284283 self .check_lnotab (code )
285284
286- @unittest .expectedFailure # TODO: RUSTPYTHON
285+ @unittest .expectedFailure # TODO: RUSTPYTHON; AssertionError: 'UNARY_NEGATIVE' starts with 'UNARY_'
287286 def test_constant_folding_unaryop (self ):
288287 intrinsic_positive = 5
289288 tests = [
@@ -887,7 +886,6 @@ def f():
887886 self .assertInBytecode (f , 'LOAD_FAST_CHECK' )
888887 self .assertNotInBytecode (f , 'LOAD_FAST' )
889888
890- @unittest .expectedFailure # TODO: RUSTPYTHON; RETURN_VALUE
891889 def test_load_fast_known_because_parameter (self ):
892890 def f1 (x ):
893891 print (x )
@@ -924,7 +922,6 @@ def f():
924922 self .assertInBytecode (f , 'LOAD_FAST_CHECK' )
925923 self .assertInBytecode (f , 'LOAD_FAST_BORROW' )
926924
927- @unittest .expectedFailure # TODO: RUSTPYTHON; RETURN_VALUE
928925 def test_load_fast_known_multiple_branches (self ):
929926 def f ():
930927 if condition ():
0 commit comments