[Numpy-discussion] tests not running

Ralf Gommers ralf.gommers at gmail.com
Fri May 10 17:24:07 EDT 2013


On Fri, May 10, 2013 at 9:41 PM, KACVINSKY Tom <Tom.KACVINSKY at 3ds.com>wrote:

> Here is my set up:
>
> Mac OS 10.7.5
> Xcode 4.5.1
> Intel Fortran 12.1
> Python 2.7.3 built from source
> Numpy 1.6.2 built from source, using MKL 11.0
> nose 0.11.4 installed
>
> I run the numpy tests as documented (python -c 'import numpy;
> numpy.test()'), but get this output:
>
> tkacvins at macomsim> python -c 'import numpy; numpy.test()'
> Running unit tests for numpy
> NumPy version 1.6.2
> NumPy is installed in
> /rd/gen/tky/do_not_delete/Python/macpython27/lib/python2.7/site-packages/numpy
> Python version 2.7.3 (default, Oct 10 2012, 14:47:52) [GCC 4.2.1 (Based on
> Apple Inc. build 5658) (LLVM build 2336.9.00)]
> nose version 0.11.4
>
> ----------------------------------------------------------------------
> Ran 0 tests in 0.025s
>
> OK
>
> Any diagnostics or options I can pass to the tests to see what is going
> on?   This is rather odd, I thought the tests would run and possibly fail.
>  I didn't expect 0 tests to run.
>

That's usually due to the executable bit being set on all files during
install (setuptools does this, nose disapproves). Try ``
np.test(extra_argv='--exe')``.

Ralf
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20130510/f40e7b01/attachment.html>


More information about the NumPy-Discussion mailing list