@@ -144,7 +144,6 @@ def f(): |
144 | 144 | self.assertInBytecode(f, elem) |
145 | 145 | self.check_lnotab(f) |
146 | 146 |
|
147 | | - @unittest.expectedFailure # TODO: RUSTPYTHON |
148 | 147 | def test_pack_unpack(self): |
149 | 148 | for line, elem in ( |
150 | 149 | ('a, = a,', 'LOAD_CONST',), |
@@ -158,7 +157,7 @@ def test_pack_unpack(self): |
158 | 157 | self.assertNotInBytecode(code, 'UNPACK_SEQUENCE') |
159 | 158 | self.check_lnotab(code) |
160 | 159 |
|
161 | | - @unittest.expectedFailure # TODO: RUSTPYTHON; AssertionError: 1 != 2 |
| 160 | + @unittest.expectedFailure # TODO: RUSTPYTHON; LOAD_CONST count mismatch in long-tuple branch |
162 | 161 | def test_constant_folding_tuples_of_constants(self): |
163 | 162 | for line, elem in ( |
164 | 163 | ('a = 1,2,3', (1, 2, 3)), |
@@ -873,7 +872,6 @@ def f(): |
873 | 872 | self.assertInBytecode(f, 'LOAD_FAST_CHECK') |
874 | 873 | self.assertNotInBytecode(f, 'LOAD_FAST') |
875 | 874 |
|
876 | | - @unittest.expectedFailure # TODO: RUSTPYTHON; RETURN_VALUE |
877 | 875 | def test_load_fast_unknown_because_del(self): |
878 | 876 | def f(): |
879 | 877 | x = 1 |
@@ -928,7 +926,6 @@ def f(): |
928 | 926 | self.assertInBytecode(f, 'LOAD_FAST_BORROW') |
929 | 927 | self.assertNotInBytecode(f, 'LOAD_FAST_CHECK') |
930 | 928 |
|
931 | | - @unittest.expectedFailure # TODO: RUSTPYTHON; L5 to L6 -> L6 [1] lasti |
932 | 929 | def test_load_fast_unknown_after_error(self): |
933 | 930 | def f(): |
934 | 931 | try: |
@@ -940,7 +937,6 @@ def f(): |
940 | 937 | # Assert that it doesn't occur in the LOAD_FAST_CHECK branch. |
941 | 938 | self.assertInBytecode(f, 'LOAD_FAST_CHECK') |
942 | 939 |
|
943 | | - @unittest.expectedFailure # TODO: RUSTPYTHON; L5 to L6 -> L6 [1] lasti |
944 | 940 | def test_load_fast_unknown_after_error_2(self): |
945 | 941 | def f(): |
946 | 942 | try: |
|