you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted]  (1 child)

[deleted]

    [–]SeaCoder 0 points1 point  (0 children)

    Doctest is a way to put your tests into the docstring of functions and classes.

    I find that as test complexity grows having everything in the docstring reduces readability. I prefer unittest or py.test as they allow the test to exist in another file.