File tree Expand file tree Collapse file tree 2 files changed +0
-6
lines changed
pandas/tests/series/indexing Expand file tree Collapse file tree 2 files changed +0
-6
lines changed Original file line number Diff line number Diff line change 86
86
TEST_ARGS : ${{ matrix.test_args || '' }}
87
87
PYTEST_WORKERS : ' auto'
88
88
PYTEST_TARGET : ${{ matrix.pytest_target || 'pandas' }}
89
- NPY_PROMOTION_STATE : ${{ matrix.env_file == 'actions-311-numpydev.yaml' && 'weak' || 'legacy' }}
90
89
# Clipboard tests
91
90
QT_QPA_PLATFORM : offscreen
92
91
REMOVE_PYARROW : ${{ matrix.name == 'Future infer strings (without pyarrow)' && '1' || '0' }}
Original file line number Diff line number Diff line change 11
11
from pandas ._config import using_string_dtype
12
12
13
13
from pandas .compat import HAS_PYARROW
14
- from pandas .compat .numpy import np_version_gte1p24
15
14
from pandas .errors import IndexingError
16
15
17
16
from pandas .core .dtypes .common import is_list_like
@@ -1444,10 +1443,6 @@ def obj(self):
1444
1443
np .float32 ,
1445
1444
False ,
1446
1445
marks = pytest .mark .xfail (
1447
- (
1448
- not np_version_gte1p24
1449
- or (np_version_gte1p24 and np ._get_promotion_state () != "weak" )
1450
- ),
1451
1446
reason = "np.float32(1.1) ends up as 1.100000023841858, so "
1452
1447
"np_can_hold_element raises and we cast to float64" ,
1453
1448
),
You can’t perform that action at this time.
0 commit comments