[Numpy-discussion] doctests failing in ipython
Robert Kern
robert.kern at gmail.com
Fri Jul 11 03:40:55 EDT 2008
On Fri, Jul 11, 2008 at 02:37, Fernando Perez <fperez.net at gmail.com> wrote:
> 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?
Probably. I forgot about that.
--
Robert Kern
"I have come to believe that the whole world is an enigma, a harmless
enigma that is made terrible by our own mad attempt to interpret it as
though it had an underlying truth."
-- Umberto Eco
More information about the NumPy-Discussion
mailing list