diff --git a/pandas/tests/frame/methods/test_shift.py b/pandas/tests/frame/methods/test_shift.py index d2281ad3a7480..1a472b2bd6d8f 100644 --- a/pandas/tests/frame/methods/test_shift.py +++ b/pandas/tests/frame/methods/test_shift.py @@ -692,7 +692,7 @@ def test_shift_with_iterable_series(self): shifts = [0, 1, 2] df = DataFrame(data) - s: Series = df["a"] + s = df["a"] tm.assert_frame_equal(s.shift(shifts), df.shift(shifts)) def test_shift_with_iterable_freq_and_fill_value(self):