[Numpy-discussion] doctests failing in ipython
Charles R Harris
Fri Jul 11 02:58:28 CDT 2008
On Fri, Jul 11, 2008 at 1:40 AM, Robert Kern <firstname.lastname@example.org> wrote:
> On Fri, Jul 11, 2008 at 02:37, Fernando Perez <email@example.com>
> > On Fri, Jul 11, 2008 at 12:29 AM, Robert Kern <firstname.lastname@example.org>
> >> 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?
> Probably. I forgot about that.
The problem might be the old ipython version (8.1) shipped with ubuntu 8.04.
Debian is slow to update and I've been trying out ubuntu for 64 bit testing.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Numpy-discussion