MCPcopy Index your code
hub / github.com/python/cpython / has_no_debug_ranges

Function has_no_debug_ranges

Lib/test/support/__init__.py:562–567  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

560 return unittest.skipUnless(zstd, reason)
561
562def has_no_debug_ranges():
563 try:
564 import _testcapi
565 except ImportError:
566 raise unittest.SkipTest("_testinternalcapi required")
567 return not _testcapi.config_get('code_debug_ranges')
568
569def requires_debug_ranges(reason='requires co_positions / debug_ranges'):
570 try:

Callers 3

check_zero_divMethod · 0.90
test_simpleMethod · 0.90
requires_debug_rangesFunction · 0.85

Calls

no outgoing calls

Tested by 2

check_zero_divMethod · 0.72
test_simpleMethod · 0.72

Used in the wild real call sites across dependent graphs

searching dependent graphs…