All Questions
1 question
0
votes
0
answers
234
views
Python: Unittest testing based on Docstring?
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 ...