Skip to content

Commit 1ef3637

Browse files
jbrockmendelWillAyd
authored andcommitted
TST: un-xfail 1 passing maybe_promote test (#28850)
1 parent 46d88c1 commit 1ef3637

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

pandas/tests/dtypes/cast/test_promote.py

+1-8
Original file line numberDiff line numberDiff line change
@@ -1038,14 +1038,7 @@ def test_maybe_promote_any_numpy_dtype_with_na(
10381038
dtype = np.dtype(any_numpy_dtype_reduced)
10391039
boxed, box_dtype = box # read from parametrized fixture
10401040

1041-
if (
1042-
dtype == bytes
1043-
and not boxed
1044-
and fill_value is not None
1045-
and fill_value is not NaT
1046-
):
1047-
pytest.xfail("does not upcast to object")
1048-
elif is_integer_dtype(dtype) and fill_value is not NaT:
1041+
if is_integer_dtype(dtype) and fill_value is not NaT:
10491042
# integer + other missing value (np.nan / None) casts to float
10501043
expected_dtype = np.float64
10511044
exp_val_for_scalar = np.nan

0 commit comments

Comments
 (0)