Skip to content

Commit b33bd87

Browse files
authored
TST: fix test broken on main (#54073)
Fix test
1 parent eed299f commit b33bd87

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

Diff for: pandas/tests/groupby/test_groupby.py

+2-4
Original file line numberDiff line numberDiff line change
@@ -390,10 +390,8 @@ def f3(x):
390390
depr_msg = "The behavior of array concatenation with empty entries is deprecated"
391391

392392
# correct result
393-
with tm.assert_produces_warning(FutureWarning, match=depr_msg):
394-
result1 = df.groupby("a").apply(f1)
395-
with tm.assert_produces_warning(FutureWarning, match=depr_msg):
396-
result2 = df2.groupby("a").apply(f1)
393+
result1 = df.groupby("a").apply(f1)
394+
result2 = df2.groupby("a").apply(f1)
397395
tm.assert_frame_equal(result1, result2)
398396

399397
# should fail (not the same number of levels)

0 commit comments

Comments
 (0)