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

Function impl_detail

Lib/test/support/__init__.py:1352–1363  ·  view source on GitHub ↗
(msg=None, **guards)

Source from the content-addressed store, hash-verified

1350 return impl_detail(cpython=True)(test)
1351
1352def impl_detail(msg=None, **guards):
1353 if check_impl_detail(**guards):
1354 return _id
1355 if msg is None:
1356 guardnames, default = _parse_guards(guards)
1357 if default:
1358 msg = "implementation detail not available on {0}"
1359 else:
1360 msg = "implementation detail specific to {0}"
1361 guardnames = sorted(guardnames.keys())
1362 msg = msg.format(' or '.join(guardnames))
1363 return unittest.skip(msg)
1364
1365def _parse_guards(guards):
1366 # Returns a tuple ({platform_name: run_me}, default_value)

Callers 1

cpython_onlyFunction · 0.85

Calls 6

check_impl_detailFunction · 0.85
_parse_guardsFunction · 0.85
skipMethod · 0.80
keysMethod · 0.45
formatMethod · 0.45
joinMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…