Skip to content

Commit 8bd4442

Browse files
committed
Fix groupby reducer tests
1 parent 3be09bc commit 8bd4442

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pandas/tests/groupby/test_bin_groupby.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -153,20 +153,20 @@ def test_int_index(self):
153153
)
154154

155155
dummy = Series(0.0, index=np.arange(100))
156-
result = libreduction.compute_reduction(
156+
result, _ = libreduction.compute_reduction(
157157
arr, np.sum, dummy=dummy, labels=Index(np.arange(4))
158158
)
159159
expected = arr.sum(0)
160160
tm.assert_almost_equal(result, expected)
161161

162162
dummy = Series(0.0, index=np.arange(4))
163-
result = libreduction.compute_reduction(
163+
result, _ = libreduction.compute_reduction(
164164
arr, np.sum, axis=1, dummy=dummy, labels=Index(np.arange(100))
165165
)
166166
expected = arr.sum(1)
167167
tm.assert_almost_equal(result, expected)
168168

169-
result = libreduction.compute_reduction(
169+
result, _ = libreduction.compute_reduction(
170170
arr, np.sum, axis=1, dummy=dummy, labels=Index(np.arange(100))
171171
)
172172
tm.assert_almost_equal(result, expected)

0 commit comments

Comments
 (0)