assert_class_isabstract#

pybrops.test.assert_python.assert_class_isabstract(obj)[source]#

Assert an object type is abstract. Must have several attributes:

  1. Must not have a defined __init__ method within the class.

  2. Must be an ABCMeta type.

  3. Must have abstract methods.

  4. Must have documentation for the class.

Parameters:

obj (type) – A Python object type.

Return type:

None