Skip to content

Commit 9a9030c

Browse files
committed
Adjust test
1 parent ce2affa commit 9a9030c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/tests/frame/test_reductions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1876,7 +1876,7 @@ def test_df_empty_nullable_min_count_0(self, opname, dtype, exp_value, exp_dtype
18761876
df = DataFrame({0: [], 1: []}, dtype=dtype)
18771877
result = getattr(df, opname)(min_count=0)
18781878

1879-
expected = Series([exp_value, exp_value], dtype=exp_dtype)
1879+
expected = Series([exp_value, exp_value], dtype=exp_dtype, index=Index([0, 1]))
18801880
tm.assert_series_equal(result, expected)
18811881

18821882
# TODO: why does min_count=1 impact the resulting Windows dtype

0 commit comments

Comments
 (0)