Coverage for tadkit/utils/_not_imported_wrapper.py: 86%
7 statements
« prev ^ index » next coverage.py v7.10.6, created at 2025-09-04 15:09 +0000
« prev ^ index » next coverage.py v7.10.6, created at 2025-09-04 15:09 +0000
2class NotImportedWrapper:
3 """Exception handler in case Confiance.AI dependencies are not available."""
5 def __init__(self, exc):
6 self.exc = exc
8 def __getattribute__(self, __name):
9 raise super().__getattribute__("exc")
11 def __call__(self):
12 raise super().__getattribute__("exc")