MCPcopy Index your code
hub / github.com/RustPython/RustPython / has_no_debug_ranges

Function has_no_debug_ranges

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

Source from the content-addressed store, hash-verified

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