[NumPy-Tickets] [NumPy] #1887: broken int64 format in timedelta64 for Python < 2.7
NumPy Trac
numpy-tickets@scipy....
Tue Jul 5 10:23:38 CDT 2011
#1887: broken int64 format in timedelta64 for Python < 2.7
---------------------------------------+------------------------------------
Reporter: derek | Owner: somebody
Type: defect | Status: new
Priority: normal | Milestone: Unscheduled
Component: numpy.core | Version: devel
Keywords: datetime, integer formats |
---------------------------------------+------------------------------------
Comment(by sienkiew):
Also observed on Red Hat Enterprise 5 Linux in python 2.5 and python 2.6;
started happening on 2011-06-22.
{{{
======================================================================
FAIL: test_timedelta_scalar_construction (test_datetime.TestDateTime)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/stsci/pyssgdev/2.5.4/numpy/core/tests/test_datetime.py", line
189, in test_timedelta_scalar_construction
assert_equal(str(np.timedelta64(3, 's')), '3 seconds')
File "/usr/stsci/pyssgdev/2.5.4/numpy/testing/utils.py", line 313, in
assert_equal
raise AssertionError(msg)
AssertionError:
Items are not equal:
ACTUAL: '%lld seconds'
DESIRED: '3 seconds'
}}}
--
Ticket URL: <http://projects.scipy.org/numpy/ticket/1887#comment:1>
NumPy <http://projects.scipy.org/numpy>
My example project
More information about the NumPy-Tickets
mailing list