On Sun, Oct 24, 2010 at 6:29 PM, <[email protected]> wrote: > On Sun, Oct 24, 2010 at 8:17 PM, Ralf Gommers > <[email protected]> wrote: >> On Sun, Oct 24, 2010 at 2:44 AM, Vincent Davis <[email protected]> >> 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) ?
A little more looking into this I think it might be a osx issue. I can't seem to find it now but nosetests runs the following /Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app I am guessing that Python.app loads the wrong python (python2.7 or python2.7-32) or something like that. It might be that this is more of a nose python2.7 issue. Vincent > > 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 >> [email protected] >> http://mail.scipy.org/mailman/listinfo/numpy-discussion >> > _______________________________________________ > NumPy-Discussion mailing list > [email protected] > http://mail.scipy.org/mailman/listinfo/numpy-discussion > -- Thanks Vincent Davis 720-301-3003 _______________________________________________ NumPy-Discussion mailing list [email protected] http://mail.scipy.org/mailman/listinfo/numpy-discussion
