Decorator for tests only applicable on CPython.
(test)
| 1266 | return unittest.skip("resource {0!r} is not enabled".format(resource)) |
| 1267 | |
| 1268 | def cpython_only(test): |
| 1269 | """ |
| 1270 | Decorator for tests only applicable on CPython. |
| 1271 | """ |
| 1272 | return impl_detail(cpython=True)(test) |
| 1273 | |
| 1274 | def impl_detail(msg=None, **guards): |
| 1275 | if check_impl_detail(**guards): |
no test coverage detected