assert_function_isabstract#

pybrops.test.assert_python.assert_function_isabstract(fn)[source]#

Assert an abstract function for several attributes:

  1. have documentation

  2. raise NotImplementedError.

Parameters:

fn (function) – An abstract method.

Return type:

None