[Numpy-discussion] doctests failing in ipython

Fernando Perez fperez.net at gmail.com
Fri Jul 11 03:37:32 EDT 2008


On Fri, Jul 11, 2008 at 12:29 AM, Robert Kern <robert.kern at gmail.com> wrote:

> Yes. This is well-known. IPython cannot run doctests in general
> without modification. This is not a bug in numpy's tests; just an
> incompatibility between IPython and doctest.

Couple of questions:

- how are these being run?  I'm trying

np.test('full',doctests=True)

and I get the same

Ran 1746 tests in 5.104s

FAILED (errors=5)

from current SVN.  But I don't get any doctest failure.

- Does %doctest_mode not help with the error Charles is getting?

Cheers,

f



More information about the NumPy-Discussion mailing list