@@ -1215,7 +1215,6 @@ def test_disassemble_fstring(self):
12151215 def test_disassemble_with (self ):
12161216 self .do_disassembly_test (_with , dis_with )
12171217
1218- @unittest .expectedFailure # TODO: RUSTPYTHON
12191218 def test_disassemble_asyncwith (self ):
12201219 self .do_disassembly_test (_asyncwith , dis_asyncwith )
12211220
@@ -1991,26 +1990,22 @@ def test_first_line_set_to_None(self):
19911990 actual = dis .get_instructions (simple , first_line = None )
19921991 self .assertInstructionsEqual (list (actual ), expected_opinfo_simple )
19931992
1994- @unittest .expectedFailure # TODO: RUSTPYTHON
19951993 def test_outer (self ):
19961994 actual = dis .get_instructions (outer , first_line = expected_outer_line )
19971995 self .assertInstructionsEqual (list (actual ), expected_opinfo_outer )
19981996
1999- @unittest .expectedFailure # TODO: RUSTPYTHON
20001997 def test_nested (self ):
20011998 with captured_stdout ():
20021999 f = outer ()
20032000 actual = dis .get_instructions (f , first_line = expected_f_line )
20042001 self .assertInstructionsEqual (list (actual ), expected_opinfo_f )
20052002
2006- @unittest .expectedFailure # TODO: RUSTPYTHON
20072003 def test_doubly_nested (self ):
20082004 with captured_stdout ():
20092005 inner = outer ()()
20102006 actual = dis .get_instructions (inner , first_line = expected_inner_line )
20112007 self .assertInstructionsEqual (list (actual ), expected_opinfo_inner )
20122008
2013- @unittest .expectedFailure # TODO: RUSTPYTHON
20142009 def test_jumpy (self ):
20152010 actual = dis .get_instructions (jumpy , first_line = expected_jumpy_line )
20162011 self .assertInstructionsEqual (list (actual ), expected_opinfo_jumpy )
@@ -2314,7 +2309,6 @@ def test_iteration(self):
23142309 via_generator = list (dis .get_instructions (obj ))
23152310 self .assertInstructionsEqual (via_object , via_generator )
23162311
2317- @unittest .expectedFailure # TODO: RUSTPYTHON
23182312 def test_explicit_first_line (self ):
23192313 actual = dis .Bytecode (outer , first_line = expected_outer_line )
23202314 self .assertInstructionsEqual (list (actual ), expected_opinfo_outer )
0 commit comments