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

Function dec

Lib/test/support/__init__.py:498–505  ·  view source on GitHub ↗
(*args, **kwargs)

Source from the content-addressed store, hash-verified

496 """Skip the test on TLS certificate validation failures."""
497 @functools.wraps(f)
498 def dec(*args, **kwargs):
499 try:
500 f(*args, **kwargs)
501 except OSError as e:
502 if "CERTIFICATE_VERIFY_FAILED" in str(e):
503 raise unittest.SkipTest("system does not contain "
504 "necessary certificates")
505 raise
506 return dec
507
508# A constant likely larger than the underlying OS pipe buffer size, to

Callers 4

testNonLocalFunctionMethod · 0.50
bin_random_mixed_opFunction · 0.50
convert_mbcsFunction · 0.50
convert_mbcsMethod · 0.50

Calls 2

strFunction · 0.85
fFunction · 0.50

Tested by 1

testNonLocalFunctionMethod · 0.40