Visitar URL original
Update `opcode` from 3.13.7 by ShaharNaveh · Pull Request #6156 · RustPython/RustPython · GitHub
Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Unmark passing tests
  • Loading branch information
ShaharNaveh committed Sep 18, 2025
commit 2634c5f2499768652d72c11feadf9cbf9d499bb3
2 changes: 0 additions & 2 deletions Lib/test/test_dis.py
Original file line number Diff line number Diff line change
Expand Up @@ -2041,7 +2041,6 @@ def f(opcode, oparg, offset, *init_args):
def get_instructions(self, code):
return dis._get_instructions_bytes(code)

@unittest.expectedFailure # TODO: RUSTPYTHON; AttributeError: 'code' object has no attribute '_varname_from_oparg'
def test_start_offset(self):
# When no extended args are present,
# start_offset should be equal to offset
Expand Down Expand Up @@ -2136,7 +2135,6 @@ def test_instantiation(self):

self.assertRaises(TypeError, dis.Bytecode, object())

@unittest.expectedFailure # TODO: RUSTPYTHON; AttributeError: 'code' object has no attribute '_varname_from_oparg'
def test_iteration(self):
for obj in [_f, _C(1).__init__, "a=1", _f.__code__]:
with self.subTest(obj=obj):
Expand Down