Skip to content

Commit 5150301

Browse files
committed
Mark test as xfail on WASM
1 parent 85e756b commit 5150301

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

pandas/tests/series/indexing/test_setitem.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,10 @@
1111

1212
from pandas._config import using_string_dtype
1313

14-
from pandas.compat import HAS_PYARROW
14+
from pandas.compat import (
15+
HAS_PYARROW,
16+
WASM,
17+
)
1518
from pandas.compat.numpy import np_version_gte1p24
1619
from pandas.errors import IndexingError
1720

@@ -1451,6 +1454,7 @@ def obj(self):
14511454
np_version_gte1p24
14521455
and os.environ.get("NPY_PROMOTION_STATE", "weak") != "weak"
14531456
)
1457+
or WASM
14541458
),
14551459
reason="np.float32(1.1) ends up as 1.100000023841858, so "
14561460
"np_can_hold_element raises and we cast to float64",

0 commit comments

Comments
 (0)