(self, module_name)
| 262 | when optional module is not present.""" |
| 263 | |
| 264 | def __init__(self, module_name): |
| 265 | self.module_name = module_name |
| 266 | self.module_missing = not optional_import(self.module_name)[1] |
| 267 | |
| 268 | def __call__(self, obj): |
| 269 | return unittest.skipIf(self.module_missing, f"optional module not present: {self.module_name}")(obj) |
nothing calls this directly
no test coverage detected