diff --git a/pandas/tests/arithmetic/test_numeric.py b/pandas/tests/arithmetic/test_numeric.py index a5bbe80a2f084..d3ce0e222e4cd 100644 --- a/pandas/tests/arithmetic/test_numeric.py +++ b/pandas/tests/arithmetic/test_numeric.py @@ -1102,7 +1102,7 @@ def test_series_divmod_zero(self): # 1/-0.0 == -np.inf # -1/-0.0 == np.inf tser = Series( - np.arange(10, dtype=np.float64), + np.arange(1, 11, dtype=np.float64), index=date_range("2020-01-01", periods=10), name="ts", )