Skip to content

Commit 9d24903

Browse files
committed
cleanup
1 parent be2c977 commit 9d24903

File tree

2 files changed

+9
-13
lines changed

2 files changed

+9
-13
lines changed

pandas/tests/groupby/methods/test_quantile.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,12 @@ def test_quantile_missing_group_values_no_segfaults():
192192
([1.0, np.nan, 2.0, 2.0], range(4), [1.0, 2.0], [0.0, 2.5]),
193193
(["a", "b", "b", np.nan], range(4), ["a", "b"], [0, 1.5]),
194194
([0], [42], [0], [42.0]),
195-
([], np.array([], dtype="float64"), [], np.array([], dtype="float64")),
195+
(
196+
np.array([], dtype="float64"),
197+
np.array([], dtype="float64"),
198+
np.array([], dtype="float64"),
199+
np.array([], dtype="float64"),
200+
),
196201
],
197202
)
198203
def test_quantile_missing_group_values_correct_results(

pandas/tests/groupby/test_grouping.py

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -737,18 +737,9 @@ def test_list_grouper_with_nat(self):
737737
@pytest.mark.parametrize(
738738
"func,expected",
739739
[
740-
(
741-
"transform",
742-
Series(name=2),
743-
),
744-
(
745-
"agg",
746-
Series(name=2, index=Index([], name=1)),
747-
),
748-
(
749-
"apply",
750-
Series(name=2, index=Index([], name=1)),
751-
),
740+
("transform", Series(name=2)),
741+
("agg", Series(name=2, index=Index([], name=1))),
742+
("apply", Series(name=2, index=Index([], name=1))),
752743
],
753744
)
754745
def test_evaluate_with_empty_groups(self, func, expected):

0 commit comments

Comments
 (0)