Skip to content

Commit 9a2f38f

Browse files
miss-islingtonvstinner
authored andcommitted
[3.14] pythongh-129033: Remove dead code in test.support.has_no_debug_ranges() (pythonGH-137379) (python#137382)
Co-authored-by: Victor Stinner <[email protected]>
1 parent 7d20626 commit 9a2f38f

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

Lib/test/support/__init__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -541,7 +541,6 @@ def has_no_debug_ranges():
541541
except ImportError:
542542
raise unittest.SkipTest("_testinternalcapi required")
543543
return not _testcapi.config_get('code_debug_ranges')
544-
return not bool(config['code_debug_ranges'])
545544

546545
def requires_debug_ranges(reason='requires co_positions / debug_ranges'):
547546
try:

0 commit comments

Comments
 (0)