Skip to content

Commit 9745485

Browse files
fixup! Add docstrings to fixtures in /series/methods/test_drop_duplicates.py
1 parent 6427808 commit 9745485

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

pandas/tests/series/methods/test_drop_duplicates.py

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -77,19 +77,13 @@ class TestSeriesDropDuplicates:
7777
def dtype(self, request):
7878
"""
7979
Fixture that provides different data types for testing.
80-
The parameterized fixture returns various numpy data types including
81-
integer, unsigned integer, float, string, timedelta, and datetime.
8280
"""
8381
return request.param
8482

8583
@pytest.fixture
8684
def cat_series_unused_category(self, dtype, ordered):
8785
"""
8886
Fixture that creates a Categorical Series with some unused categories.
89-
This fixture creates a Categorical Series based on the given dtype and
90-
ordered parameters. The input series contains some categories that are
91-
not used in the actual data, allowing the testing of categorical
92-
behavior with unused categories.
9387
"""
9488
# Test case 1
9589
cat_array = np.array([1, 2, 3, 4, 5], dtype=np.dtype(dtype))
@@ -155,10 +149,6 @@ def test_drop_duplicates_categorical_non_bool_keepfalse(
155149
def cat_series(self, dtype, ordered):
156150
"""
157151
Fixture that creates a Categorical Series with no unused categories.
158-
This fixture creates a Categorical Series based on the given dtype and
159-
ordered parameters. The input series contains categories that are all
160-
used in the actual data, allowing the testing of categorical behavior
161-
without unused categories.
162152
"""
163153
cat_array = np.array([1, 2, 3, 4, 5], dtype=np.dtype(dtype))
164154

0 commit comments

Comments
 (0)