Decorator for tests only applicable on CPython.
(test)
| 1344 | return unittest.skip("resource {0!r} is not enabled".format(resource)) |
| 1345 | |
| 1346 | def cpython_only(test): |
| 1347 | """ |
| 1348 | Decorator for tests only applicable on CPython. |
| 1349 | """ |
| 1350 | return impl_detail(cpython=True)(test) |
| 1351 | |
| 1352 | def impl_detail(msg=None, **guards): |
| 1353 | if check_impl_detail(**guards): |
no test coverage detected
searching dependent graphs…