Skip to content

Commit e79a1a1

Browse files
authored
Fix traceback (#6569)
* Fix traceback * Update traceback from CPython 3.13.11 * unmark test_traceback * fix code * fix debug range * fix tests
1 parent 6bd1d90 commit e79a1a1

File tree

16 files changed

+1202
-307
lines changed

16 files changed

+1202
-307
lines changed

.cspell.dict/python-more.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,7 @@ PYTHONHASHSEED
178178
PYTHONHOME
179179
PYTHONINSPECT
180180
PYTHONINTMAXSTRDIGITS
181+
PYTHONNODEBUGRANGES
181182
PYTHONNOUSERSITE
182183
PYTHONOPTIMIZE
183184
PYTHONPATH

Lib/test/test_code.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -425,8 +425,6 @@ def test_co_positions_artificial_instructions(self):
425425
]
426426
)
427427

428-
# TODO: RUSTPYTHON
429-
@unittest.expectedFailure
430428
def test_endline_and_columntable_none_when_no_debug_ranges(self):
431429
# Make sure that if `-X no_debug_ranges` is used, there is
432430
# minimal debug info
@@ -442,8 +440,6 @@ def f():
442440
""")
443441
assert_python_ok('-X', 'no_debug_ranges', '-c', code)
444442

445-
# TODO: RUSTPYTHON
446-
@unittest.expectedFailure
447443
def test_endline_and_columntable_none_when_no_debug_ranges_env(self):
448444
# Same as above but using the environment variable opt out.
449445
code = textwrap.dedent("""

0 commit comments

Comments
 (0)