Skip to content

Commit 08ce7c6

Browse files
authored
gh-129033: Remove dead code in test.support.has_no_debug_ranges() (#137379)
1 parent e8251dc commit 08ce7c6

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)