diff --git a/pandas/tests/window/test_timeseries_window.py b/pandas/tests/window/test_timeseries_window.py index b96473fbc6ff91..be8335717927e2 100644 --- a/pandas/tests/window/test_timeseries_window.py +++ b/pandas/tests/window/test_timeseries_window.py @@ -25,7 +25,7 @@ def regular(): @pytest.fixture def ragged(): df = DataFrame({"B": range(5)}) - df.index = Index( + df.index = DatetimeIndex( [ Timestamp("20130101 09:00:00"), Timestamp("20130101 09:00:02"),