File tree Expand file tree Collapse file tree 3 files changed +44
-1
lines changed
pandas/tests/series/indexing Expand file tree Collapse file tree 3 files changed +44
-1
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ Version 2.2
16
16
.. toctree ::
17
17
:maxdepth: 2
18
18
19
+ v2.2.3
19
20
v2.2.2
20
21
v2.2.1
21
22
v2.2.0
Original file line number Diff line number Diff line change
1
+ .. _whatsnew_223 :
2
+
3
+ What's new in 2.2.3 (September XX, 2024)
4
+ ----------------------------------------
5
+
6
+ These are the changes in pandas 2.2.3. See :ref: `release ` for a full changelog
7
+ including other versions of pandas.
8
+
9
+ {{ header }}
10
+
11
+ .. ---------------------------------------------------------------------------
12
+ .. _whatsnew_223.regressions :
13
+
14
+ Fixed regressions
15
+ ~~~~~~~~~~~~~~~~~
16
+ -
17
+
18
+ .. ---------------------------------------------------------------------------
19
+ .. _whatsnew_223.bug_fixes :
20
+
21
+ Bug fixes
22
+ ~~~~~~~~~
23
+ -
24
+
25
+ .. ---------------------------------------------------------------------------
26
+ .. _whatsnew_223.other :
27
+
28
+ Other
29
+ ~~~~~
30
+ -
31
+
32
+ .. ---------------------------------------------------------------------------
33
+ .. _whatsnew_223.contributors :
34
+
35
+ Contributors
36
+ ~~~~~~~~~~~~
Original file line number Diff line number Diff line change 3
3
datetime ,
4
4
)
5
5
from decimal import Decimal
6
+ import os
6
7
7
8
import numpy as np
8
9
import pytest
9
10
11
+ from pandas .compat import WASM
10
12
from pandas .compat .numpy import np_version_gte1p24
11
13
from pandas .errors import IndexingError
12
14
@@ -1443,7 +1445,11 @@ def obj(self):
1443
1445
marks = pytest .mark .xfail (
1444
1446
(
1445
1447
not np_version_gte1p24
1446
- or (np_version_gte1p24 and np ._get_promotion_state () != "weak" )
1448
+ or (
1449
+ np_version_gte1p24
1450
+ and os .environ .get ("NPY_PROMOTION_STATE" , "weak" ) != "weak"
1451
+ )
1452
+ or WASM
1447
1453
),
1448
1454
reason = "np.float32(1.1) ends up as 1.100000023841858, so "
1449
1455
"np_can_hold_element raises and we cast to float64" ,
You can’t perform that action at this time.
0 commit comments