diff --git a/pandas/tests/arithmetic/test_datetime64.py b/pandas/tests/arithmetic/test_datetime64.py index b3f4d5f5d9ee5..f7c12cbe881ea 100644 --- a/pandas/tests/arithmetic/test_datetime64.py +++ b/pandas/tests/arithmetic/test_datetime64.py @@ -2376,12 +2376,10 @@ def test_dti_add_series(self, tz_naive_fixture, names): tm.assert_index_equal(result4, expected) @pytest.mark.parametrize("op", [operator.add, roperator.radd, operator.sub]) - def test_dti_addsub_offset_arraylike( - self, tz_naive_fixture, names, op, index_or_series - ): - # GH#18849, GH#19744 + def test_dti_addsub_offset_arraylike(self, tz_naive_fixture, names, op, box): + # GH#18849, GH#19744, GH#19211 box = pd.Index - other_box = index_or_series + other_box = box tz = tz_naive_fixture dti = pd.date_range("2017-01-01", periods=2, tz=tz, name=names[0])