Bug report
Bug description:
@requires_debug_ranges()
class ...:
requires_debug_ranges here is expected to skip the decorated test. But when _testcapi doesn't exist, it raises unittest.SkipTest when calling the decorator.
CPython versions tested on:
CPython main branch
Operating systems tested on:
No response
Linked PRs
Bug report
Bug description:
requires_debug_rangeshere is expected to skip the decorated test. But when_testcapidoesn't exist, it raisesunittest.SkipTestwhen calling the decorator.CPython versions tested on:
CPython main branch
Operating systems tested on:
No response
Linked PRs
_testcpidoesn't exist #137195