3 ms·
That concept has been formalized as part of the Python standard library. https://docs.python.org/3/library/doctest.html https://docs.python.org/3/library/docte
by hathawsh 1y ago
That concept has been formalized as part of the Python standard library.
https://docs.python.org/3/library/doctest.html https://docs.python.org/3/library/doctest.html
- flakes 1y agoAh very nice! Did not realize this was a part of the standard library!
- lmz 1y agoIt's been there since Python v2.1 https://docs.python.org/release/2.1/lib/module-doctest.html https://docs.python.org/release/2.1/lib/module-doctest.html
- sakesun 1y agoHere is the first announce of doctest I can find (1999) I think it's Python 1.5 time. https://groups.google.com/g/comp.lang.python/c/DfzH5Nrt05E/m/Yyd3s7fPVxwJ?pli=1 https://groups.google.com/g/comp.lang.python/c/DfzH5Nrt05E/m...
- deleted 1y ago[deleted]