assert_class_isabstract#
- pybrops.test.assert_python.assert_class_isabstract(obj)[source]#
Assert an object type is abstract. Must have several attributes:
Must not have a defined
__init__
method within the class.Must be an ABCMeta type.
Must have abstract methods.
Must have documentation for the class.
- Parameters:
obj (type) – A Python object type.
- Return type:
None