[Numpy-discussion] test_creation Errors with np 1.5.1rc1 built on osx 10.5 py27 32bit

Vincent Davis vincent@vincentdavis....
Thu Oct 21 16:46:23 CDT 2010


Sorry for the noise, I guess I had some cross installed python27 after
deleting everything and starting over it work. New results below.

Vincent

>>> 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, 20:17:05) [GCC 4.0.1
(Apple Inc. build 5493)]
nose version 0.11.2
.........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................K........................................................................................................................................................................................................................................K......................Warning:
overflow encountered in ldexp
.......................................................................K......................K........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................S.............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
----------------------------------------------------------------------
Ran 3006 tests in 10.219s

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


On Thu, Oct 21, 2010 at 3:34 PM, Vincent Davis <vincent@vincentdavis.net> wrote:
> Build info
> numpy-1.5.1rc1-py2.7-python.org-macosx10.5
> python-2.7-macosx10.3
> os x 10.5
>
> installed on osx 10.6 python-2.7-macosx10.3
>
> Been working on building the dmg, you can try it/download at
> http://vincentdavis.info/Shared/numpy-1.5.1rc1-py2.6-python.org-macosx10.3.dmg
>
> Saw a few tickets in trac but have not look into this really. I am
> thought maybe someone might already know what this is.
>
> 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, 20:17:05) [GCC 4.0.1
> (Apple Inc. build 5493)]
> nose version 0.11.2
> ...EEEEEEEEEEEE......................................................................................................................................................................................................................................................................................................................................................................................................................................................................................K........................................................................................................................................................................................................................................K......................Warning:
> overflow encountered in ldexp
> .......................................................................K......................K........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................S.............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
> ======================================================================
> ERROR: test_creation (test_datetime.TestDateTime)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/core/tests/test_datetime.py",
> line 10, in test_creation
>    dt1 = np.dtype('M8[750%s]'%unit)
> TypeError: data type not understood
>
> ======================================================================
> ERROR: test_creation_overflow (test_datetime.TestDateTime)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/core/tests/test_datetime.py",
> line 62, in test_creation_overflow
>    timesteps = np.array([date], dtype='datetime64[s]')[0].astype(np.int64)
> TypeError: data type not understood
>
> ======================================================================
> ERROR: test_divisor_conversion_as (test_datetime.TestDateTime)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/core/tests/test_datetime.py",
> line 58, in test_divisor_conversion_as
>    self.assertRaises(ValueError, lambda : np.dtype('M8[as/10]'))
>  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/unittest/case.py",
> line 456, in assertRaises
>    callableObj(*args, **kwargs)
>  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/core/tests/test_datetime.py",
> line 58, in <lambda>
>    self.assertRaises(ValueError, lambda : np.dtype('M8[as/10]'))
> TypeError: data type not understood
>
> ======================================================================
> ERROR: test_divisor_conversion_bday (test_datetime.TestDateTime)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/core/tests/test_datetime.py",
> line 32, in test_divisor_conversion_bday
>    assert np.dtype('M8[B/12]') == np.dtype('M8[2h]')
> TypeError: data type not understood
>
> ======================================================================
> ERROR: test_divisor_conversion_day (test_datetime.TestDateTime)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/core/tests/test_datetime.py",
> line 37, in test_divisor_conversion_day
>    assert np.dtype('M8[D/12]') == np.dtype('M8[2h]')
> TypeError: data type not understood
>
> ======================================================================
> ERROR: test_divisor_conversion_fs (test_datetime.TestDateTime)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/core/tests/test_datetime.py",
> line 54, in test_divisor_conversion_fs
>    assert np.dtype('M8[fs/100]') == np.dtype('M8[10as]')
> TypeError: data type not understood
>
> ======================================================================
> ERROR: test_divisor_conversion_hour (test_datetime.TestDateTime)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/core/tests/test_datetime.py",
> line 42, in test_divisor_conversion_hour
>    assert np.dtype('m8[h/30]') == np.dtype('m8[2m]')
> TypeError: data type not understood
>
> ======================================================================
> ERROR: test_divisor_conversion_minute (test_datetime.TestDateTime)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/core/tests/test_datetime.py",
> line 46, in test_divisor_conversion_minute
>    assert np.dtype('m8[m/30]') == np.dtype('m8[2s]')
> TypeError: data type not understood
>
> ======================================================================
> ERROR: test_divisor_conversion_month (test_datetime.TestDateTime)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/core/tests/test_datetime.py",
> line 21, in test_divisor_conversion_month
>    assert np.dtype('M8[M/2]') == np.dtype('M8[2W]')
> TypeError: data type not understood
>
> ======================================================================
> ERROR: test_divisor_conversion_second (test_datetime.TestDateTime)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/core/tests/test_datetime.py",
> line 50, in test_divisor_conversion_second
>    assert np.dtype('m8[s/100]') == np.dtype('m8[10ms]')
> TypeError: data type not understood
>
> ======================================================================
> ERROR: test_divisor_conversion_week (test_datetime.TestDateTime)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/core/tests/test_datetime.py",
> line 26, in test_divisor_conversion_week
>    assert np.dtype('m8[W/5]') == np.dtype('m8[B]')
> TypeError: data type not understood
>
> ======================================================================
> ERROR: test_divisor_conversion_year (test_datetime.TestDateTime)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/core/tests/test_datetime.py",
> line 16, in test_divisor_conversion_year
>    assert np.dtype('M8[Y/4]') == np.dtype('M8[3M]')
> TypeError: data type not understood
>
> ----------------------------------------------------------------------
> Ran 3018 tests in 10.218s
>
> FAILED (KNOWNFAIL=4, SKIP=1, errors=12)
> <nose.result.TextTestResult run=3018 errors=12 failures=0>
>
> --
> Thanks
> Vincent Davis
> 720-301-3003
>



-- 
Thanks
Vincent Davis
720-301-3003


More information about the NumPy-Discussion mailing list