assert_class_issemiabstract#

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

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

  1. Must be an ABCMeta type.

  2. Must have abstract methods.

  3. Must have documentation for the class.

Parameters:

obj (type) – A Python object type.

Return type:

None