[Numpy-discussion] doctests failing in ipython
Charles R Harris
charlesr.harris@gmail....
Fri Jul 11 02:58:28 CDT 2008
On Fri, Jul 11, 2008 at 1:40 AM, Robert Kern <robert.kern@gmail.com> wrote:
> On Fri, Jul 11, 2008 at 02:37, Fernando Perez <fperez.net@gmail.com>
> wrote:
> > 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?
>
> 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.
Chuck
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://projects.scipy.org/pipermail/numpy-discussion/attachments/20080711/edfc366b/attachment.html
More information about the Numpy-discussion
mailing list