Skip to content

Commit e8355f9

Browse files
committed
mark dis regression; requiring update to 3.14
1 parent 682914b commit e8355f9

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Lib/test/test_dis.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2185,24 +2185,28 @@ def test_bytecode_co_positions(self):
21852185
assert instr.positions == positions
21862186

21872187
class TestBytecodeTestCase(BytecodeTestCase):
2188+
@unittest.expectedFailure # TODO: RUSTPYTHON; RETURN_VALUE
21882189
def test_assert_not_in_with_op_not_in_bytecode(self):
21892190
code = compile("a = 1", "<string>", "exec")
21902191
self.assertInBytecode(code, "LOAD_CONST", 1)
21912192
self.assertNotInBytecode(code, "LOAD_NAME")
21922193
self.assertNotInBytecode(code, "LOAD_NAME", "a")
21932194

2195+
@unittest.expectedFailure # TODO: RUSTPYTHON; RETURN_VALUE
21942196
def test_assert_not_in_with_arg_not_in_bytecode(self):
21952197
code = compile("a = 1", "<string>", "exec")
21962198
self.assertInBytecode(code, "LOAD_CONST")
21972199
self.assertInBytecode(code, "LOAD_CONST", 1)
21982200
self.assertNotInBytecode(code, "LOAD_CONST", 2)
21992201

2202+
@unittest.expectedFailure # TODO: RUSTPYTHON; AssertionError: AssertionError not raised
22002203
def test_assert_not_in_with_arg_in_bytecode(self):
22012204
code = compile("a = 1", "<string>", "exec")
22022205
with self.assertRaises(AssertionError):
22032206
self.assertNotInBytecode(code, "LOAD_CONST", 1)
22042207

22052208
class TestFinderMethods(unittest.TestCase):
2209+
@unittest.expectedFailure # TODO: RUSTPYTHON
22062210
def test__find_imports(self):
22072211
cases = [
22082212
("import a.b.c", ('a.b.c', 0, None)),

0 commit comments

Comments
 (0)