June 8, 2013
10:54 a.m.
On 8 June 2013 17:41, Ethan Furman <ethan@stoneleaf.us> wrote:
On 06/08/2013 03:09 AM, Serhiy Storchaka wrote:
Is it possible to add "invisible" code which doesn't displayed in the resulting documentation, but taken into account by doctest?
I have no idea. This is my first time using doctest.
AFAIK, stdlib uses Sphinx, so you can provide a testsetup block[1]. At least if you're running them via Sphinx. [1]: http://sphinx-doc.org/ext/doctest.html -- Łukasz Rekucki