[Numpy-discussion] tests fails when run $nosetests numpy, but not from python prompt

josef.pktd at gmail.com josef.pktd at gmail.com
Sun Oct 24 20:29:44 EDT 2010


On Sun, Oct 24, 2010 at 8:17 PM, Ralf Gommers
<ralf.gommers at googlemail.com> wrote:
> On Sun, Oct 24, 2010 at 2:44 AM, Vincent Davis <vincent at vincentdavis.net> wrote:
>> python2.7 10.5, osx 10.6, numpy 1.5.1rc1
>> Test pass when run from python prompt (see bottom) but fail when run
>> from $nosetests numpy.
>
> That is expected, see
> http://article.gmane.org/gmane.comp.python.numeric.general/40781.

That only applies to the first group of tests,
On the commandline he has 19 additional test compared to numpy.test()
and failures like

/tmp/tmpOjoP4S/_test_ext_module_5403.so: mach-o, but wrong architecture

Are there tests in numpy.test() that are skipped for some other reason
(e.g. decorated as slow) ?

Josef


>
> Cheers,
> Ralf
>
>
>>
>> 105osxpython:~ Vincent$ nosetests numpy
>> .........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................E........................................................................................................................................................................................................................................E......................Warning:
>> overflow encountered in ldexp
>> .......................................................................E......................E...........................................................................................EEEEEE...................................................................................................................................................................................................................................................................................................................................................................................EEEEEEEEEE.EE..............................................................................................................................................................................................................................................................................................................................................................................................................................
>>  ............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................S................................................................................................................................................................................................................................................................................................................................................................................
>>  .............................................................................................................................................................................................................................................................................................................................
>> ======================================================================
>> ERROR: test_array_from_sequence_scalar_array2 (test_regression.TestRegression)
>> Ticket #1081: weird array with strange input...
>> ----------------------------------------------------------------------
>> Traceback (most recent call last):
>>  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/testing/decorators.py",
>> line 213, in knownfailer
>>    raise KnownFailureTest, msg
>> KnownFailureTest: Fix this for 1.5.0.
>>
> _______________________________________________
> NumPy-Discussion mailing list
> NumPy-Discussion at scipy.org
> http://mail.scipy.org/mailman/listinfo/numpy-discussion
>



More information about the NumPy-Discussion mailing list