Comment Comment by wiseowise Python community figured this out in 2001: https://docs.python.org/3/library/doctest.html parent wiseowise 7 months ago