[Numpy-discussion] All numpy-f2py tests failed

Romu Hu huruomu at gmail.com
Wed Sep 24 01:48:14 EDT 2014


On 2014/9/24 12:52, Charles R Harris wrote:
> On Tue, Sep 23, 2014 at 10:30 PM, Charles R Harris 
> <charlesr.harris at gmail.com <mailto:charlesr.harris at gmail.com>> wrote:
>
>     On Tue, Sep 23, 2014 at 10:20 PM, Charles R Harris
>     <charlesr.harris at gmail.com <mailto:charlesr.harris at gmail.com>> wrote:
>
>
>
>
> <snip>
>
> Looks like you need to do
>
> >>> import numpy.f2py as f2py
> >>> f2py.test()

I tried it but no test was run:

Run python in the python27 env:

$ scl enable python27 "python"
Python 2.7.5 (default, Aug 13 2014, 02:49:07)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-3)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
 >>>

Run the test:

 >>> import numpy.f2py as f2py
 >>> f2py.test()
Running unit tests for numpy.f2py
NumPy version 1.7.1
NumPy is installed in 
/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy
Python version 2.7.5 (default, Aug 13 2014, 02:49:07) [GCC 4.4.7 
20120313 (Red Hat 4.4.7-3)]
nose version 1.3.0
S
----------------------------------------------------------------------
Ran 0 tests in 0.452s

OK (SKIP=1)
<nose.result.TextTestResult run=0 errors=0 failures=0>

Files of the python27-numpy-f2py-1.7.1-9.el6.x86_64 package:

/opt/rh/python27/root/usr/bin/f2py
/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py
/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/__init__.py
/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/__init__.pyc
/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/__init__.pyo
/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/__version__.py
/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/__version__.pyc
/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/__version__.pyo
/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/auxfuncs.py
/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/auxfuncs.pyc
/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/auxfuncs.pyo
/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/capi_maps.py
/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/capi_maps.pyc
/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/capi_maps.pyo
/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/cb_rules.py
/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/cb_rules.pyc
/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/cb_rules.pyo
/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/cfuncs.py
/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/cfuncs.pyc
/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/cfuncs.pyo
/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/common_rules.py
/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/common_rules.pyc
/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/common_rules.pyo
/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/crackfortran.py
/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/crackfortran.pyc
/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/crackfortran.pyo
/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/diagnose.py
/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/diagnose.pyc
/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/diagnose.pyo
/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/f2py2e.py
/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/f2py2e.pyc
/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/f2py2e.pyo
/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/f2py_testing.py
/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/f2py_testing.pyc
/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/f2py_testing.pyo
/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/f90mod_rules.py
/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/f90mod_rules.pyc
/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/f90mod_rules.pyo
/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/func2subr.py
/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/func2subr.pyc
/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/func2subr.pyo
/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/info.py
/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/info.pyc
/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/info.pyo
/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/rules.py
/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/rules.pyc
/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/rules.pyo
/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/setup.py
/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/setup.pyc
/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/setup.pyo
/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/setupscons.py
/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/setupscons.pyc
/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/setupscons.pyo
/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/src
/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/src/fortranobject.c
/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/src/fortranobject.h
/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/tests
/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/tests/src
/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/tests/src/array_from_pyobj
/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/tests/src/array_from_pyobj/wrapmodule.c
/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/tests/src/assumed_shape
/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/tests/src/assumed_shape/.f2py_f2cmap
/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/tests/src/assumed_shape/foo_free.f90
/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/tests/src/assumed_shape/foo_mod.f90
/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/tests/src/assumed_shape/foo_use.f90
/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/tests/src/assumed_shape/precision.f90
/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/tests/src/kind
/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/tests/src/kind/foo.f90
/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/tests/src/mixed
/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/tests/src/mixed/foo.f
/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/tests/src/mixed/foo_fixed.f90
/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/tests/src/mixed/foo_free.f90
/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/tests/src/size
/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/tests/src/size/foo.f90
/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/tests/test_array_from_pyobj.py
/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/tests/test_array_from_pyobj.pyc
/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/tests/test_array_from_pyobj.pyo
/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/tests/test_assumed_shape.py
/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/tests/test_assumed_shape.pyc
/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/tests/test_assumed_shape.pyo
/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/tests/test_callback.py
/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/tests/test_callback.pyc
/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/tests/test_callback.pyo
/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/tests/test_kind.py
/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/tests/test_kind.pyc
/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/tests/test_kind.pyo
/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/tests/test_mixed.py
/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/tests/test_mixed.pyc
/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/tests/test_mixed.pyo
/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/tests/test_return_character.py
/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/tests/test_return_character.pyc
/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/tests/test_return_character.pyo
/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/tests/test_return_complex.py
/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/tests/test_return_complex.pyc
/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/tests/test_return_complex.pyo
/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/tests/test_return_integer.py
/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/tests/test_return_integer.pyc
/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/tests/test_return_integer.pyo
/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/tests/test_return_logical.py
/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/tests/test_return_logical.pyc
/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/tests/test_return_logical.pyo
/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/tests/test_return_real.py
/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/tests/test_return_real.pyc
/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/tests/test_return_real.pyo
/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/tests/test_size.py
/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/tests/test_size.pyc
/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/tests/test_size.pyo
/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/tests/util.py
/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/tests/util.pyc
/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/tests/util.pyo
/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/use_rules.py
/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/use_rules.pyc
/opt/rh/python27/root/usr/lib64/python2.7/site-packages/numpy/f2py/use_rules.pyo
/opt/rh/python27/root/usr/share/man/man1/f2py.1.gz


Thanks
Romu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20140924/9b55db1e/attachment.html>


More information about the NumPy-Discussion mailing list