We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9d44e63 commit 8e2f70bCopy full SHA for 8e2f70b
pandas/tseries/tests/test_timeseries.py
@@ -2363,7 +2363,7 @@ def test_unit_with_numeric(self):
2363
expected = DatetimeIndex(['2015-06-19 05:33:20',
2364
'2015-05-27 22:33:20'])
2365
arr1 = [1.434692e+18, 1.432766e+18]
2366
- arr2 = np.array(arr1).astype(int)
+ arr2 = np.array(arr1).astype('int64')
2367
for errors in ['ignore', 'raise', 'coerce']:
2368
result = pd.to_datetime(arr1, errors=errors)
2369
tm.assert_index_equal(result, expected)
0 commit comments