File tree 1 file changed +3
-0
lines changed
pandas/tests/indexes/datetimelike_
1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -52,6 +52,7 @@ def test_not_equals_misc_strs(self, index):
52
52
class TestPeriodIndexEquals (EqualsTests ):
53
53
@pytest .fixture
54
54
def index (self ):
55
+ """Fixture for creating a PeriodIndex for use in equality tests."""
55
56
return period_range ("2013-01-01" , periods = 5 , freq = "D" )
56
57
57
58
# TODO: de-duplicate with other test_equals2 methods
@@ -91,6 +92,7 @@ def test_equals2(self, freq):
91
92
class TestDatetimeIndexEquals (EqualsTests ):
92
93
@pytest .fixture
93
94
def index (self ):
95
+ """Fixture for creating a DatetimeIndex for use in equality tests."""
94
96
return date_range ("2013-01-01" , periods = 5 )
95
97
96
98
def test_equals2 (self ):
@@ -143,6 +145,7 @@ def test_not_equals_bday(self, freq):
143
145
class TestTimedeltaIndexEquals (EqualsTests ):
144
146
@pytest .fixture
145
147
def index (self ):
148
+ """Fixture for creating a TimedeltaIndex for use in equality tests."""
146
149
return timedelta_range ("1 day" , periods = 10 )
147
150
148
151
def test_equals2 (self ):
You can’t perform that action at this time.
0 commit comments