Skip to content

Commit a33acac

Browse files
committed
Update test_resample_api.py
1 parent 3442e00 commit a33acac

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

pandas/tests/resample/test_resample_api.py

+9-5
Original file line numberDiff line numberDiff line change
@@ -693,11 +693,15 @@ def test_backward_resample():
693693
tm.assert_series_equal(res, expected)
694694

695695
# test right and left close
696-
res = ts.resample(
697-
"17min",
698-
origin="end",
699-
closed="right",
700-
).sum().astype("int64")
696+
res = (
697+
ts.resample(
698+
"17min",
699+
origin="end",
700+
closed="right",
701+
)
702+
.sum()
703+
.astype("int64")
704+
)
701705
data = [0, 18, 27, 63]
702706
expected = Series(
703707
data,

0 commit comments

Comments
 (0)