Skip to content

Commit

Permalink
add xfail reason to TestCoercionFloat32
Browse files Browse the repository at this point in the history
  • Loading branch information
mroeschke committed Oct 30, 2023
1 parent 6fb901c commit 707543c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pandas/tests/series/indexing/test_setitem.py
Original file line number Diff line number Diff line change
Expand Up @@ -1409,6 +1409,7 @@ def obj(self):
np.float32,
None,
marks=pytest.mark.xfail(
np._get_promotion_state() != "weak",
reason="np.float32(1.1) ends up as 1.100000023841858, so "
"np_can_hold_element raises and we cast to float64",
),
Expand Down

0 comments on commit 707543c

Please sign in to comment.