[Numpy-discussion] Code samples in docstrings mistaken as doctests

Alan McIntyre alan.mcintyre at gmail.com
Mon Jun 23 16:14:47 EDT 2008


On Mon, Jun 23, 2008 at 4:07 PM, Pauli Virtanen <pav at iki.fi> wrote:
> Another idea (in addition to whitelisting): how easy would it be to
> subclass doctest.DocTestParser so that it would eg. automatically +IGNORE
> any doctest lines containing ">>> plt."?

I'll play around with that and see how hard it is to just ignore the
ugly bits that currently require all that per-line directive stuff.



More information about the NumPy-Discussion mailing list