From 9ba15a7ed525afd6bdad25a835b910e6fbeb6be8 Mon Sep 17 00:00:00 2001 From: jreback Date: Mon, 7 Jul 2014 10:14:43 -0400 Subject: [PATCH] TST/COMPAT: numpy master compat with timedelta type coercion --- pandas/tseries/tests/test_tslib.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandas/tseries/tests/test_tslib.py b/pandas/tseries/tests/test_tslib.py index 82f05a0de4588..122bb93a878ee 100644 --- a/pandas/tseries/tests/test_tslib.py +++ b/pandas/tseries/tests/test_tslib.py @@ -98,7 +98,7 @@ def test_tz(self): self.assertEqual(conv.hour, 19) def test_barely_oob_dts(self): - one_us = np.timedelta64(1) + one_us = np.timedelta64(1).astype('timedelta64[us]') # By definition we can't go out of bounds in [ns], so we # convert the datetime64s to [us] so we can go out of bounds