Skip to content

Commit e636ce2

Browse files
committed
Add test case for Float64 input
1 parent 945f1aa commit e636ce2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

pandas/tests/extension/test_masked.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -365,7 +365,9 @@ def test_loc_setitem_with_expansion_preserves_ea_index_dtype(self, data, request
365365
super().test_loc_setitem_with_expansion_preserves_ea_index_dtype(data)
366366

367367

368-
@pytest.mark.parametrize("arr", [pd.array([True, False]), pd.array([1, 2])])
368+
@pytest.mark.parametrize(
369+
"arr", [pd.array([True, False]), pd.array([1, 2]), pd.array([1.0, 2.0])]
370+
)
369371
def test_cast_pointwise_result_all_na_respects_original_dtype(arr):
370372
# GH#62344
371373
values = [pd.NA, pd.NA]

0 commit comments

Comments
 (0)