File tree 2 files changed +0
-3
lines changed
2 files changed +0
-3
lines changed Original file line number Diff line number Diff line change @@ -47,15 +47,13 @@ def peak_to_peak(arr):
47
47
with tm .assert_produces_warning (
48
48
FutureWarning ,
49
49
match = r"\['key2'\] did not aggregate successfully" ,
50
- check_stacklevel = False ,
51
50
):
52
51
expected = grouped .agg ([peak_to_peak ])
53
52
expected .columns = ["data1" , "data2" ]
54
53
55
54
with tm .assert_produces_warning (
56
55
FutureWarning ,
57
56
match = r"\['key2'\] did not aggregate successfully" ,
58
- check_stacklevel = False ,
59
57
):
60
58
result = grouped .agg (peak_to_peak )
61
59
tm .assert_frame_equal (result , expected )
Original file line number Diff line number Diff line change @@ -354,7 +354,6 @@ def test_agg():
354
354
with tm .assert_produces_warning (
355
355
warn ,
356
356
match = r"\['date'\] did not aggregate successfully" ,
357
- check_stacklevel = False ,
358
357
):
359
358
# .var on dt64 column raises and is dropped
360
359
result = t .aggregate ([np .mean , np .std ])
You can’t perform that action at this time.
0 commit comments