[Numpy-discussion] numarray vs IPython

Peter Verveer verveer at embl-heidelberg.de
Tue Dec 7 01:13:20 EST 2004


This could be true, I noticed that the tests for the nd_image package 
work fine, and those are written using unittest, which does not rely on 
the exact textual form of the expected output.

On 7 Dec 2004, at 09:54, Andrea Riciputi wrote:

> The same here (OS X, Python 2.3.4, ipython 0.6.5). The problem is due 
> to the way in which numarray performs its tests. It relies on the 
> Python module doctest that execute the script in doc strings. I think 
> that since in numarray doc strings the expected output is written in 
> the standard Python way (i.e. >>> foo) while ipython writes out 
> something like "Out[n]: foo" the checks fail.
>
> HTH,
>   Andrea.
>
>
> On 7 Dec 2004, at 01:05, Stephen Walton wrote:
>
>> When I run numarray.testall.test() from IPython, I get a slew of error
>> messages instead of the successful test output I get when the same
>> version is run from the stock Python interpreter.  Anyone else see 
>> this?
>
>
>
> -------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products from real 
> users.
> Discover which products truly live up to the hype. Start reading now. 
> http://productguide.itmanagersjournal.com/
> _______________________________________________
> Numpy-discussion mailing list
> Numpy-discussion at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/numpy-discussion





More information about the NumPy-Discussion mailing list