On 06/13/2011 10:11 AM, Derek Homeier wrote:
> Hi Ralf,
>
>> FAIL: Test custom format function for each element in array.
>> ----------------------------------------------------------------------
>>
>> This test is not in 1.6.x, only in master. I suspect the same is true for 
>> the datetime tests, but perhaps not for the S5/U5 thing. Can you clean your 
>> install dir and try again?
>>
> you're right - I've tried to download the tarball, but am getting connection 
> errors or incomplete
> downloads from all available SF mirrors, and apparently I was still too thick 
> to figure out how
> to checkout a specific tag...
> After a fresh checkout of  maintenance/1.6.x all tests succeed (on OS X 10.6 
> x86_64).
>
> I've put the test issues with master on
>
> https://github.com/dhomeier/numpy/tree/dt_tests_2to3
>
> Cheers,
>                                                       Derek
>
> _______________________________________________
> NumPy-Discussion mailing list
> NumPy-Discussion@scipy.org
> http://mail.scipy.org/mailman/listinfo/numpy-discussion

I used wget using the direct link and it eventually got the complete 
file after multiple tries.

Anyhow, the tests passed for me on Linux 64-bit for Python 2.4, 2.5, 2.7 
and 3.1. My Python 2.6 is not a standard build so I am avoiding it. I do 
get an error with Python3.2

Bruce

$ python3.2 -c "import numpy; numpy.test()"
Running unit tests for numpy
NumPy version 1.6.1rc1
NumPy is installed in /usr/local/lib/python3.2/site-packages/numpy
Python version 3.2 (r32:88445, Mar 23 2011, 11:36:08) [GCC 4.5.1 
20100924 (Red Hat 4.5.1-4)]
nose version 3.0.0
.................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................K............................................................................K............................................................................................................K..................................
 
...............................................................K......................K......................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
 
............................................................................................................................................................................./usr/local/lib/python3.2/site-packages/numpy/lib/format.py:575:
 
ResourceWarning: unclosed file <_io.BufferedReader name='/tmp/tmp66k88a'>
   mode=mode, offset=offset)
............................................................................................................................................................................................................................................................................................................................................................................................................................................................................/usr/local/lib/python3.2/subprocess.py:460:
 
ResourceWarning: unclosed file <_io.BufferedReader name=3>
   return Popen(*popenargs, **kwargs).wait()
/usr/local/lib/python3.2/subprocess.py:460: ResourceWarning: unclosed 
file <_io.BufferedReader name=8>
   return Popen(*popenargs, **kwargs).wait()
........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................E........
======================================================================
ERROR: Failure: OSError 
(/usr/local/lib/python3.2/site-packages/numpy/core/multiarray.pyd: 
cannot open shared object file: No such file or directory)
----------------------------------------------------------------------
Traceback (most recent call last):
   File 
"/usr/local/lib/python3.2/site-packages/nose-3.0.0.dev-py3.2.egg/nose/failure.py",
 
line 37, in runTest
     reraise(self.exc_class, self.exc_val, self.tb)
   File 
"/usr/local/lib/python3.2/site-packages/nose-3.0.0.dev-py3.2.egg/nose/_3.py", 
line 7, in reraise
     raise exc_class(exc_val).with_traceback(tb)
   File 
"/usr/local/lib/python3.2/site-packages/nose-3.0.0.dev-py3.2.egg/nose/loader.py",
 
line 389, in loadTestsFromName
     addr.filename, addr.module)
   File 
"/usr/local/lib/python3.2/site-packages/nose-3.0.0.dev-py3.2.egg/nose/importer.py",
 
line 39, in importFromPath
     return self.importFromDir(dir_path, fqname)
   File 
"/usr/local/lib/python3.2/site-packages/nose-3.0.0.dev-py3.2.egg/nose/importer.py",
 
line 86, in importFromDir
     mod = load_module(part_fqname, fh, filename, desc)
   File 
"/usr/local/lib/python3.2/site-packages/numpy/tests/test_ctypeslib.py", 
line 8, in <module>
     cdll = load_library('multiarray', np.core.multiarray.__file__)
   File "/usr/local/lib/python3.2/site-packages/numpy/ctypeslib.py", 
line 122, in load_library
     raise exc
   File "/usr/local/lib/python3.2/site-packages/numpy/ctypeslib.py", 
line 119, in load_library
     return ctypes.cdll[libpath]
   File "/usr/local/lib/python3.2/ctypes/__init__.py", line 415, in 
__getitem__
     return getattr(self, name)
   File "/usr/local/lib/python3.2/ctypes/__init__.py", line 410, in 
__getattr__
     dll = self._dlltype(name)
   File "/usr/local/lib/python3.2/ctypes/__init__.py", line 340, in __init__
     self._handle = _dlopen(self._name, mode)
OSError: 
/usr/local/lib/python3.2/site-packages/numpy/core/multiarray.pyd: cannot 
open shared object file: No such file or directory

----------------------------------------------------------------------
Ran 3525 tests in 33.713s

FAILED (KNOWNFAIL=5, errors=1)


_______________________________________________
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to