(msg=None, **guards)
| 1272 | return impl_detail(cpython=True)(test) |
| 1273 | |
| 1274 | def 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 | |
| 1287 | def _parse_guards(guards): |
| 1288 | # Returns a tuple ({platform_name: run_me}, default_value) |
no test coverage detected