File tree 2 files changed +3
-0
lines changed
2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change 11
11
np_version_gte1p22 = _nlv >= Version ("1.22" )
12
12
is_numpy_dev = _nlv .dev is not None
13
13
_min_numpy_ver = "1.19.5"
14
+ is_numpy_min = _nlv == Version (_min_numpy_ver )
14
15
15
16
if is_numpy_dev or not np_version_under1p22 :
16
17
np_percentile_argname = "method"
Original file line number Diff line number Diff line change 10
10
import numpy as np
11
11
import pytest
12
12
13
+ from pandas .compat .numpy import is_numpy_min
13
14
import pandas .util ._test_decorators as td
14
15
15
16
from pandas import (
@@ -1198,6 +1199,7 @@ def test_iloc_getitem_int_single_ea_block_view(self):
1198
1199
arr [2 ] = arr [- 1 ]
1199
1200
assert ser [0 ] == arr [- 1 ]
1200
1201
1202
+ @pytest .mark .xfail (is_numpy_min , reason = "Column A gets coerced to integer type" )
1201
1203
def test_iloc_setitem_multicolumn_to_datetime (self , using_array_manager ):
1202
1204
1203
1205
# GH#20511
You can’t perform that action at this time.
0 commit comments