[Numpy-discussion] doctests failing in ipython

Fernando Perez fperez.net@gmail....
Fri Jul 11 02:37:32 CDT 2008


On Fri, Jul 11, 2008 at 12:29 AM, Robert Kern <robert.kern@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