tests fails when run $nosetests numpy, but not from python prompt

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. 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. ====================================================================== ERROR: test_umath.TestComplexFunctions.test_branch_cuts_failing ---------------------------------------------------------------------- Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/nose-0.11.3-py2.7.egg/nose/case.py", line 186, in runTest self.test(*self.arg) 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: These branch cuts are known to fail ====================================================================== ERROR: test_umath_complex.TestCarg.test_zero ---------------------------------------------------------------------- Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/nose-0.11.3-py2.7.egg/nose/case.py", line 186, in runTest self.test(*self.arg) 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: Complex arithmetic with signed zero is buggy on most implementation ====================================================================== ERROR: test_umath_complex.TestCexp.test_special_values2 ---------------------------------------------------------------------- Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/nose-0.11.3-py2.7.egg/nose/case.py", line 186, in runTest self.test(*self.arg) 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: cexp(nan + 0I) is wrong on most implementations ====================================================================== ERROR: Failure: ImportError (cannot import name fib2) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/nose-0.11.3-py2.7.egg/nose/loader.py", line 382, in loadTestsFromName addr.filename, addr.module) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/nose-0.11.3-py2.7.egg/nose/importer.py", line 39, in importFromPath return self.importFromDir(dir_path, fqname) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/nose-0.11.3-py2.7.egg/nose/importer.py", line 86, in importFromDir mod = load_module(part_fqname, fh, filename, desc) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/distutils/tests/f2py_ext/tests/test_fib2.py", line 3, in <module> from f2py_ext import fib2 ImportError: cannot import name fib2 ====================================================================== ERROR: Failure: ImportError (cannot import name foo) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/nose-0.11.3-py2.7.egg/nose/loader.py", line 382, in loadTestsFromName addr.filename, addr.module) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/nose-0.11.3-py2.7.egg/nose/importer.py", line 39, in importFromPath return self.importFromDir(dir_path, fqname) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/nose-0.11.3-py2.7.egg/nose/importer.py", line 86, in importFromDir mod = load_module(part_fqname, fh, filename, desc) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/distutils/tests/f2py_f90_ext/tests/test_foo.py", line 3, in <module> from f2py_f90_ext import foo ImportError: cannot import name foo ====================================================================== ERROR: Failure: ImportError (cannot import name fib3) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/nose-0.11.3-py2.7.egg/nose/loader.py", line 382, in loadTestsFromName addr.filename, addr.module) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/nose-0.11.3-py2.7.egg/nose/importer.py", line 39, in importFromPath return self.importFromDir(dir_path, fqname) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/nose-0.11.3-py2.7.egg/nose/importer.py", line 86, in importFromDir mod = load_module(part_fqname, fh, filename, desc) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/distutils/tests/gen_ext/tests/test_fib3.py", line 3, in <module> from gen_ext import fib3 ImportError: cannot import name fib3 ====================================================================== ERROR: Failure: ImportError (No module named primes) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/nose-0.11.3-py2.7.egg/nose/loader.py", line 382, in loadTestsFromName addr.filename, addr.module) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/nose-0.11.3-py2.7.egg/nose/importer.py", line 39, in importFromPath return self.importFromDir(dir_path, fqname) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/nose-0.11.3-py2.7.egg/nose/importer.py", line 86, in importFromDir mod = load_module(part_fqname, fh, filename, desc) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/distutils/tests/pyrex_ext/tests/test_primes.py", line 3, in <module> from pyrex_ext.primes import primes ImportError: No module named primes ====================================================================== ERROR: Failure: ImportError (cannot import name example) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/nose-0.11.3-py2.7.egg/nose/loader.py", line 382, in loadTestsFromName addr.filename, addr.module) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/nose-0.11.3-py2.7.egg/nose/importer.py", line 39, in importFromPath return self.importFromDir(dir_path, fqname) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/nose-0.11.3-py2.7.egg/nose/importer.py", line 86, in importFromDir mod = load_module(part_fqname, fh, filename, desc) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/distutils/tests/swig_ext/tests/test_example.py", line 3, in <module> from swig_ext import example ImportError: cannot import name example ====================================================================== ERROR: Failure: ImportError (cannot import name example2) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/nose-0.11.3-py2.7.egg/nose/loader.py", line 382, in loadTestsFromName addr.filename, addr.module) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/nose-0.11.3-py2.7.egg/nose/importer.py", line 39, in importFromPath return self.importFromDir(dir_path, fqname) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/nose-0.11.3-py2.7.egg/nose/importer.py", line 86, in importFromDir mod = load_module(part_fqname, fh, filename, desc) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/distutils/tests/swig_ext/tests/test_example2.py", line 3, in <module> from swig_ext import example2 ImportError: cannot import name example2 ====================================================================== ERROR: test_callback.TestF77Callback.test_all ---------------------------------------------------------------------- Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/nose-0.11.3-py2.7.egg/nose/case.py", line 367, in setUp try_run(self.inst, ('setup', 'setUp')) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/nose-0.11.3-py2.7.egg/nose/util.py", line 491, in try_run return func() File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/f2py/tests/util.py", line 341, in setUp module_name=self.module_name) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/f2py/tests/util.py", line 73, in wrapper memo[key] = func(*a, **kw) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/f2py/tests/util.py", line 156, in build_code module_name=module_name) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/f2py/tests/util.py", line 73, in wrapper memo[key] = func(*a, **kw) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/f2py/tests/util.py", line 137, in build_module __import__(module_name) ImportError: dlopen(/tmp/tmpOjoP4S/_test_ext_module_5403.so, 2): no suitable image found. Did find: /tmp/tmpOjoP4S/_test_ext_module_5403.so: mach-o, but wrong architecture ====================================================================== ERROR: test_mixed.TestMixed.test_all ---------------------------------------------------------------------- Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/nose-0.11.3-py2.7.egg/nose/case.py", line 367, in setUp try_run(self.inst, ('setup', 'setUp')) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/nose-0.11.3-py2.7.egg/nose/util.py", line 491, in try_run return func() File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/f2py/tests/util.py", line 346, in setUp module_name=self.module_name) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/f2py/tests/util.py", line 73, in wrapper memo[key] = func(*a, **kw) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/f2py/tests/util.py", line 137, in build_module __import__(module_name) ImportError: dlopen(/tmp/tmpOjoP4S/_test_ext_module_5403.so, 2): no suitable image found. Did find: /tmp/tmpOjoP4S/_test_ext_module_5403.so: mach-o, but wrong architecture ====================================================================== ERROR: test_return_character.TestF77ReturnCharacter.test_all ---------------------------------------------------------------------- Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/nose-0.11.3-py2.7.egg/nose/case.py", line 367, in setUp try_run(self.inst, ('setup', 'setUp')) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/nose-0.11.3-py2.7.egg/nose/util.py", line 491, in try_run return func() File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/f2py/tests/util.py", line 341, in setUp module_name=self.module_name) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/f2py/tests/util.py", line 73, in wrapper memo[key] = func(*a, **kw) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/f2py/tests/util.py", line 156, in build_code module_name=module_name) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/f2py/tests/util.py", line 73, in wrapper memo[key] = func(*a, **kw) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/f2py/tests/util.py", line 137, in build_module __import__(module_name) ImportError: dlopen(/tmp/tmpOjoP4S/_test_ext_module_5403.so, 2): no suitable image found. Did find: /tmp/tmpOjoP4S/_test_ext_module_5403.so: mach-o, but wrong architecture ====================================================================== ERROR: test_return_character.TestF90ReturnCharacter.test_all ---------------------------------------------------------------------- Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/nose-0.11.3-py2.7.egg/nose/case.py", line 367, in setUp try_run(self.inst, ('setup', 'setUp')) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/nose-0.11.3-py2.7.egg/nose/util.py", line 491, in try_run return func() File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/f2py/tests/util.py", line 341, in setUp module_name=self.module_name) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/f2py/tests/util.py", line 73, in wrapper memo[key] = func(*a, **kw) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/f2py/tests/util.py", line 156, in build_code module_name=module_name) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/f2py/tests/util.py", line 73, in wrapper memo[key] = func(*a, **kw) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/f2py/tests/util.py", line 137, in build_module __import__(module_name) ImportError: dlopen(/tmp/tmpOjoP4S/_test_ext_module_5403.so, 2): no suitable image found. Did find: /tmp/tmpOjoP4S/_test_ext_module_5403.so: mach-o, but wrong architecture ====================================================================== ERROR: test_return_complex.TestF77ReturnComplex.test_all ---------------------------------------------------------------------- Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/nose-0.11.3-py2.7.egg/nose/case.py", line 367, in setUp try_run(self.inst, ('setup', 'setUp')) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/nose-0.11.3-py2.7.egg/nose/util.py", line 491, in try_run return func() File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/f2py/tests/util.py", line 341, in setUp module_name=self.module_name) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/f2py/tests/util.py", line 73, in wrapper memo[key] = func(*a, **kw) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/f2py/tests/util.py", line 156, in build_code module_name=module_name) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/f2py/tests/util.py", line 73, in wrapper memo[key] = func(*a, **kw) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/f2py/tests/util.py", line 137, in build_module __import__(module_name) ImportError: dlopen(/tmp/tmpOjoP4S/_test_ext_module_5403.so, 2): no suitable image found. Did find: /tmp/tmpOjoP4S/_test_ext_module_5403.so: mach-o, but wrong architecture ====================================================================== ERROR: test_return_complex.TestF90ReturnComplex.test_all ---------------------------------------------------------------------- Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/nose-0.11.3-py2.7.egg/nose/case.py", line 367, in setUp try_run(self.inst, ('setup', 'setUp')) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/nose-0.11.3-py2.7.egg/nose/util.py", line 491, in try_run return func() File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/f2py/tests/util.py", line 341, in setUp module_name=self.module_name) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/f2py/tests/util.py", line 73, in wrapper memo[key] = func(*a, **kw) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/f2py/tests/util.py", line 156, in build_code module_name=module_name) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/f2py/tests/util.py", line 73, in wrapper memo[key] = func(*a, **kw) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/f2py/tests/util.py", line 137, in build_module __import__(module_name) ImportError: dlopen(/tmp/tmpOjoP4S/_test_ext_module_5403.so, 2): no suitable image found. Did find: /tmp/tmpOjoP4S/_test_ext_module_5403.so: mach-o, but wrong architecture ====================================================================== ERROR: test_return_integer.TestF77ReturnInteger.test_all ---------------------------------------------------------------------- Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/nose-0.11.3-py2.7.egg/nose/case.py", line 367, in setUp try_run(self.inst, ('setup', 'setUp')) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/nose-0.11.3-py2.7.egg/nose/util.py", line 491, in try_run return func() File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/f2py/tests/util.py", line 341, in setUp module_name=self.module_name) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/f2py/tests/util.py", line 73, in wrapper memo[key] = func(*a, **kw) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/f2py/tests/util.py", line 156, in build_code module_name=module_name) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/f2py/tests/util.py", line 73, in wrapper memo[key] = func(*a, **kw) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/f2py/tests/util.py", line 137, in build_module __import__(module_name) ImportError: dlopen(/tmp/tmpOjoP4S/_test_ext_module_5403.so, 2): no suitable image found. Did find: /tmp/tmpOjoP4S/_test_ext_module_5403.so: mach-o, but wrong architecture ====================================================================== ERROR: test_return_integer.TestF90ReturnInteger.test_all ---------------------------------------------------------------------- Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/nose-0.11.3-py2.7.egg/nose/case.py", line 367, in setUp try_run(self.inst, ('setup', 'setUp')) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/nose-0.11.3-py2.7.egg/nose/util.py", line 491, in try_run return func() File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/f2py/tests/util.py", line 341, in setUp module_name=self.module_name) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/f2py/tests/util.py", line 73, in wrapper memo[key] = func(*a, **kw) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/f2py/tests/util.py", line 156, in build_code module_name=module_name) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/f2py/tests/util.py", line 73, in wrapper memo[key] = func(*a, **kw) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/f2py/tests/util.py", line 137, in build_module __import__(module_name) ImportError: dlopen(/tmp/tmpOjoP4S/_test_ext_module_5403.so, 2): no suitable image found. Did find: /tmp/tmpOjoP4S/_test_ext_module_5403.so: mach-o, but wrong architecture ====================================================================== ERROR: test_return_logical.TestF77ReturnLogical.test_all ---------------------------------------------------------------------- Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/nose-0.11.3-py2.7.egg/nose/case.py", line 367, in setUp try_run(self.inst, ('setup', 'setUp')) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/nose-0.11.3-py2.7.egg/nose/util.py", line 491, in try_run return func() File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/f2py/tests/util.py", line 341, in setUp module_name=self.module_name) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/f2py/tests/util.py", line 73, in wrapper memo[key] = func(*a, **kw) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/f2py/tests/util.py", line 156, in build_code module_name=module_name) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/f2py/tests/util.py", line 73, in wrapper memo[key] = func(*a, **kw) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/f2py/tests/util.py", line 137, in build_module __import__(module_name) ImportError: dlopen(/tmp/tmpOjoP4S/_test_ext_module_5403.so, 2): no suitable image found. Did find: /tmp/tmpOjoP4S/_test_ext_module_5403.so: mach-o, but wrong architecture ====================================================================== ERROR: test_return_logical.TestF90ReturnLogical.test_all ---------------------------------------------------------------------- Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/nose-0.11.3-py2.7.egg/nose/case.py", line 367, in setUp try_run(self.inst, ('setup', 'setUp')) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/nose-0.11.3-py2.7.egg/nose/util.py", line 491, in try_run return func() File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/f2py/tests/util.py", line 341, in setUp module_name=self.module_name) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/f2py/tests/util.py", line 73, in wrapper memo[key] = func(*a, **kw) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/f2py/tests/util.py", line 156, in build_code module_name=module_name) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/f2py/tests/util.py", line 73, in wrapper memo[key] = func(*a, **kw) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/f2py/tests/util.py", line 137, in build_module __import__(module_name) ImportError: dlopen(/tmp/tmpOjoP4S/_test_ext_module_5403.so, 2): no suitable image found. Did find: /tmp/tmpOjoP4S/_test_ext_module_5403.so: mach-o, but wrong architecture ====================================================================== ERROR: test_return_real.TestF77ReturnReal.test_all ---------------------------------------------------------------------- Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/nose-0.11.3-py2.7.egg/nose/case.py", line 367, in setUp try_run(self.inst, ('setup', 'setUp')) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/nose-0.11.3-py2.7.egg/nose/util.py", line 491, in try_run return func() File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/f2py/tests/util.py", line 341, in setUp module_name=self.module_name) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/f2py/tests/util.py", line 73, in wrapper memo[key] = func(*a, **kw) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/f2py/tests/util.py", line 156, in build_code module_name=module_name) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/f2py/tests/util.py", line 73, in wrapper memo[key] = func(*a, **kw) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/f2py/tests/util.py", line 137, in build_module __import__(module_name) ImportError: dlopen(/tmp/tmpOjoP4S/_test_ext_module_5403.so, 2): no suitable image found. Did find: /tmp/tmpOjoP4S/_test_ext_module_5403.so: mach-o, but wrong architecture ====================================================================== ERROR: test_return_real.TestF90ReturnReal.test_all ---------------------------------------------------------------------- Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/nose-0.11.3-py2.7.egg/nose/case.py", line 367, in setUp try_run(self.inst, ('setup', 'setUp')) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/nose-0.11.3-py2.7.egg/nose/util.py", line 491, in try_run return func() File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/f2py/tests/util.py", line 341, in setUp module_name=self.module_name) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/f2py/tests/util.py", line 73, in wrapper memo[key] = func(*a, **kw) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/f2py/tests/util.py", line 156, in build_code module_name=module_name) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/f2py/tests/util.py", line 73, in wrapper memo[key] = func(*a, **kw) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/f2py/tests/util.py", line 137, in build_module __import__(module_name) ImportError: dlopen(/tmp/tmpOjoP4S/_test_ext_module_5403.so, 2): no suitable image found. Did find: /tmp/tmpOjoP4S/_test_ext_module_5403.so: mach-o, but wrong architecture ---------------------------------------------------------------------- Ran 3025 tests in 30.682s FAILED (SKIP=1, errors=22) python2.7
numpy.test() Running unit tests for numpy NumPy version 1.5.1rc1 NumPy is installed in /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy Python version 2.7 (r27:82508, Jul 3 2010, 21:12:11) [GCC 4.0.1 (Apple Inc. build 5493)] nose version 0.11.3 <snip>
Ran 3006 tests in 14.112s OK (KNOWNFAIL=4, SKIP=1) <nose.result.TextTestResult run=3006 errors=0 failures=0> python2.7-32
numpy.test() Running unit tests for numpy NumPy version 1.5.1rc1 NumPy is installed in /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy Python version 2.7 (r27:82508, Jul 3 2010, 21:12:11) [GCC 4.0.1 (Apple Inc. build 5493)] nose version 0.11.3
Ran 3006 tests in 14.060s OK (KNOWNFAIL=4, SKIP=1) <nose.result.TextTestResult run=3006 errors=0 failures=0 -- Thanks Vincent Davis 720-301-3003

On Sun, Oct 24, 2010 at 2:44 AM, Vincent Davis <vincent@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. 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.

On Sun, Oct 24, 2010 at 8:17 PM, Ralf Gommers <ralf.gommers@googlemail.com> wrote:
On Sun, Oct 24, 2010 at 2:44 AM, Vincent Davis <vincent@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@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion

On Sun, Oct 24, 2010 at 6:29 PM, <josef.pktd@gmail.com> wrote:
On Sun, Oct 24, 2010 at 8:17 PM, Ralf Gommers <ralf.gommers@googlemail.com> wrote:
On Sun, Oct 24, 2010 at 2:44 AM, Vincent Davis <vincent@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) ?
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 NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion
_______________________________________________ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion
-- Thanks Vincent Davis 720-301-3003

2010/10/25 Vincent Davis <vincent@vincentdavis.net>:
On Sun, Oct 24, 2010 at 6:29 PM, <josef.pktd@gmail.com> wrote:
On Sun, Oct 24, 2010 at 8:17 PM, Ralf Gommers <ralf.gommers@googlemail.com> wrote:
On Sun, Oct 24, 2010 at 2:44 AM, Vincent Davis <vincent@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) ?
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.
105osxpython:numpy Friedrich$ head /Library/Frameworks/Python.framework/Versions/2.7/bin/nosetests #!/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python Same applies to the 2.6 & 2.5 :file:`nosetests`. At least for the 2.7, the MacOS/Python called has different size than the bin/python2.7 cmd line executable. So it's simply something completely different. Still it makes the errors not explained. I remember Ralf's post cited by himself. FYI, the MacOS/Python executable has all three archs. We came to the conclusion, so simple not use nosetests, and to leave this mysterious issue to later, I will document it on the numpy build doc web site. Friedrich

On Mon, Oct 25, 2010 at 5:40 PM, Friedrich Romstedt <friedrichromstedt@gmail.com> wrote:
2010/10/25 Vincent Davis <vincent@vincentdavis.net>:
On Sun, Oct 24, 2010 at 6:29 PM, <josef.pktd@gmail.com> wrote:
On Sun, Oct 24, 2010 at 8:17 PM, Ralf Gommers <ralf.gommers@googlemail.com> wrote:
On Sun, Oct 24, 2010 at 2:44 AM, Vincent Davis <vincent@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) ?
You're right, 13 extra distutils tests labeled as slow. These are failures on OS X due to #1399. Ralf
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.
105osxpython:numpy Friedrich$ head /Library/Frameworks/Python.framework/Versions/2.7/bin/nosetests #!/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python
Same applies to the 2.6 & 2.5 :file:`nosetests`. At least for the 2.7, the MacOS/Python called has different size than the bin/python2.7 cmd line executable. So it's simply something completely different. Still it makes the errors not explained.
I remember Ralf's post cited by himself.
FYI, the MacOS/Python executable has all three archs.
We came to the conclusion, so simple not use nosetests, and to leave this mysterious issue to later, I will document it on the numpy build doc web site.
Friedrich _______________________________________________ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion
participants (4)
-
Friedrich Romstedt
-
josef.pktd@gmail.com
-
Ralf Gommers
-
Vincent Davis