diff --git a/pandas/tests/arithmetic/test_interval.py b/pandas/tests/arithmetic/test_interval.py index 30a23d8563ef8..6dc3b3b13dd0c 100644 --- a/pandas/tests/arithmetic/test_interval.py +++ b/pandas/tests/arithmetic/test_interval.py @@ -290,6 +290,6 @@ def test_index_series_compat(self, op, constructor, expected_type, assert_func): def test_comparison_operations(self, scalars): # GH #28981 expected = Series([False, False]) - s = Series([pd.Interval(0, 1), pd.Interval(1, 2)], dtype="interval") + s = Series([Interval(0, 1), Interval(1, 2)], dtype="interval") result = s == scalars tm.assert_series_equal(result, expected)