Skip to content

Commit 5431ab5

Browse files
committed
64 not 32
1 parent 1dda2c2 commit 5431ab5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/tests/tools/test_to_datetime.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -3182,7 +3182,7 @@ def test_invalid_origin(self, unit):
31823182
)
31833183
def test_epoch(self, units, epochs):
31843184
epoch_1960 = Timestamp(1960, 1, 1)
3185-
units_from_epochs = np.arange(5, dtype=np.int32)
3185+
units_from_epochs = np.arange(5, dtype=np.int64)
31863186
expected = Series(
31873187
[pd.Timedelta(x, unit=units) + epoch_1960 for x in units_from_epochs]
31883188
)

0 commit comments

Comments
 (0)