Skip to content

Commit

Permalink
DOCS: Add docstrings to fixture in /indexes/categorical/test_category…
Browse files Browse the repository at this point in the history
….py (#59289)

Add docstrings to fixture in /indexes/categorical/test_category.py file.
  • Loading branch information
ivonastojanovic committed Jul 22, 2024
1 parent e018703 commit dd464e2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pandas/tests/indexes/categorical/test_category.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@
class TestCategoricalIndex:
@pytest.fixture
def simple_index(self) -> CategoricalIndex:
"""
Fixture that provides a CategoricalIndex.
"""
return CategoricalIndex(list("aabbca"), categories=list("cab"), ordered=False)

def test_can_hold_identifiers(self):
Expand Down

0 comments on commit dd464e2

Please sign in to comment.