[Python-Dev] doctest and pickle

Łukasz Rekucki lrekucki at gmail.com
Sat Jun 8 19:54:18 CEST 2013


On 8 June 2013 17:41, Ethan Furman <ethan at 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


More information about the Python-Dev mailing list