News for hackers. Stuff that matters.
Re:Solving Algorithmic Problems in Python with Pytest (2019) by eidorb on Saturday December 19, 2020 @07:09AM (#25476923)
I like using doctest in these simple cases - the tests go in the docstrings!

(Also, it’s part of the standard library.)

https://docs.python.org/3/library/doctest.html

There are no comments on this comment yet.