Skip to content

Commit 04c1654

Browse files
committed
Rename to _test_categorical_single_grouper to assert_categorical_single_grouper
1 parent b535f77 commit 04c1654

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pandas/tests/groupby/test_frame_value_counts.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ def test_data_frame_value_counts_dropna(
308308
tm.assert_series_equal(result_frame_groupby, expected)
309309

310310

311-
def _test_categorical_single_grouper(
311+
def assert_categorical_single_grouper(
312312
education_df, as_index, observed, expected_index, normalize, expected_data
313313
):
314314
# Test single categorical grouper when non-groupers are also categorical
@@ -375,7 +375,7 @@ def test_categorical_single_grouper_observed_true(
375375
("US", "male", "medium"),
376376
]
377377

378-
_test_categorical_single_grouper(
378+
assert_categorical_single_grouper(
379379
education_df=education_df,
380380
as_index=as_index,
381381
observed=True,
@@ -448,7 +448,7 @@ def test_categorical_single_grouper_observed_false(
448448
("ASIA", "male", "medium"),
449449
]
450450

451-
_test_categorical_single_grouper(
451+
assert_categorical_single_grouper(
452452
education_df=education_df,
453453
as_index=as_index,
454454
observed=False,

0 commit comments

Comments
 (0)