Programming, Python

Extending Python Doctests – xdoctest

If you're like me and you've ever wanted to (1) write tests without opening a new file, (2)  give your functions interactive entry points, (3) provide example usage for API calls,  or (4) simply thought "hmm, that's neat" when you saw how vim highlights text in docstrings prefixed with ">>>", then you may be interested… Continue reading Extending Python Doctests – xdoctest