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

Function impl_detail

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

Source from the content-addressed store, hash-verified

1272 return impl_detail(cpython=True)(test)
1273
1274def impl_detail(msg=None, **guards):
1275 if check_impl_detail(**guards):
1276 return _id
1277 if msg is None:
1278 guardnames, default = _parse_guards(guards)
1279 if default:
1280 msg = "implementation detail not available on {0}"
1281 else:
1282 msg = "implementation detail specific to {0}"
1283 guardnames = sorted(guardnames.keys())
1284 msg = msg.format(' or '.join(guardnames))
1285 return unittest.skip(msg)
1286
1287def _parse_guards(guards):
1288 # Returns a tuple ({platform_name: run_me}, default_value)

Callers 1

cpython_onlyFunction · 0.85

Calls 7

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

Tested by

no test coverage detected