@property
def opt_type(self) -> StrOrNone:
- return None
+ raise NotImplementedError # pragma: no cover
def set_state(self, data: StrOrNone) -> None:
assert(data is None or isinstance(data, str)), \
assert hasattr(self.opts[0], 'expected') # true for SimpleNamedOptCheckTypes
return self.opts[0].expected
+ def check(self) -> None:
+ raise NotImplementedError # pragma: no cover
+
def table_print(self, mode: StrOrNone, with_results: bool) -> None:
if mode == 'verbose':
class_name = f'<<< {self.__class__.__name__} >>>'