Skip to main content

All Questions

Filter by
Sorted by
Tagged with
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 ...
Suppenkasper's user avatar