diff --git a/pandas/tests/resample/test_base.py b/pandas/tests/resample/test_base.py index 403eeb8db73f9..04f147ee40e62 100644 --- a/pandas/tests/resample/test_base.py +++ b/pandas/tests/resample/test_base.py @@ -169,7 +169,7 @@ def test_resample_empty_dataframe(empty_frame_dti, freq, resample_method): expected = df.copy() else: # GH14962 - expected = Series([], dtype=int) + expected = Series([], dtype=np.int64) expected.index = _asfreq_compat(df.index, freq)