Skip to content

Commit dd464e2

Browse files
DOCS: Add docstrings to fixture in /indexes/categorical/test_category.py (#59289)
Add docstrings to fixture in /indexes/categorical/test_category.py file.
1 parent e018703 commit dd464e2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

pandas/tests/indexes/categorical/test_category.py

+3
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@
2121
class TestCategoricalIndex:
2222
@pytest.fixture
2323
def simple_index(self) -> CategoricalIndex:
24+
"""
25+
Fixture that provides a CategoricalIndex.
26+
"""
2427
return CategoricalIndex(list("aabbca"), categories=list("cab"), ordered=False)
2528

2629
def test_can_hold_identifiers(self):

0 commit comments

Comments
 (0)