[NumPy-Tickets] [NumPy] #1468: Datetime test_creation_overflow fails

NumPy Trac numpy-tickets@scipy....
Thu Apr 29 14:34:34 CDT 2010


#1468: Datetime test_creation_overflow fails
------------------------+---------------------------------------------------
 Reporter:  pv          |       Owner:  stefan
     Type:  defect      |      Status:  new   
 Priority:  normal      |   Milestone:  2.0.0 
Component:  numpy.core  |     Version:  devel 
 Keywords:              |  
------------------------+---------------------------------------------------
 On a 32-bit system, r8372:
 {{{
 ======================================================================
 FAIL: test_creation_overflow (test_datetime.TestDateTime)
 ----------------------------------------------------------------------
 Traceback (most recent call last):
   File "/home/pauli/wrk/scipy/numpy/dist/linux/lib/python2.6/site-
 packages/numpy/core/tests/test_datetime.py", line 68, in
 test_creation_overflow
     err_msg='Datetime conversion error for unit %s' % unit)
   File "/home/pauli/wrk/scipy/numpy/dist/linux/lib/python2.6/site-
 packages/numpy/testing/utils.py", line 313, in assert_equal
     raise AssertionError(msg)
 AssertionError:
 Items are not equal: Datetime conversion error for unit ms
  ACTUAL: 567052800
  DESIRED: 322689600000
 >>  raise AssertionError('\nItems are not equal: Datetime conversion error
 for unit ms\n ACTUAL: 567052800\n DESIRED: 322689600000')
 }}}

 Any ideas what's wrong?

-- 
Ticket URL: <http://projects.scipy.org/numpy/ticket/1468>
NumPy <http://projects.scipy.org/numpy>
My example project


More information about the NumPy-Tickets mailing list