I am new to using unittest for testing my modules. Usually docstrings already contain a lot of useful info such as the datatypes expected by a function or the datatype of the return value. E.g.
def myFunc(parmA,paramB):
"""
This function is awesome
:param paramA: int
:param paramB: str
:return:
"""
Would there be a way to automatically test for raises TypeError when the wrong datatype is supplied, based on the information in the docstring?