[Python-Dev] A sad state of doctests in the python manual

Alexander Belopolsky alexander.belopolsky at gmail.com
Thu Oct 28 22:52:51 CEST 2010


On the second look, the problem may not be that bad - "make doctest"
picks up system python instead of the one from the source tree.  I'll
try to figure out how to rerun the doctests properly.

On Thu, Oct 28, 2010 at 4:48 PM, Alexander Belopolsky
<alexander.belopolsky at gmail.com> wrote:
> I have just discovered that sphinx supports running doctests embedded
> in ReST documentation.   It looks like it is as simple as "cd Doc;
> make doctest".  The result, however is not encouraging:
>
> $ make doctest
> ...
> Doctest summary
> ===============
>  1162 tests
>  262 failures in tests
>    0 failures in setup code
> ...
>


More information about the Python-Dev mailing list