Skip to content

Commit c506b42

Browse files
vstinnermiss-islington
authored andcommitted
pythongh-129033: Remove dead code in test.support.has_no_debug_ranges() (pythonGH-137379)
(cherry picked from commit 08ce7c6) Co-authored-by: Victor Stinner <[email protected]>
1 parent f487008 commit c506b42

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
return unittest.skipIf(has_no_debug_ranges(), reason)

0 commit comments

Comments
 (0)