File tree Expand file tree Collapse file tree 2 files changed +3
-0
lines changed
Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change 1111np_version_gte1p22 = _nlv >= Version ("1.22" )
1212is_numpy_dev = _nlv .dev is not None
1313_min_numpy_ver = "1.19.5"
14+ is_numpy_min = _nlv == Version (_min_numpy_ver )
1415
1516if is_numpy_dev or not np_version_under1p22 :
1617 np_percentile_argname = "method"
Original file line number Diff line number Diff line change 1010import numpy as np
1111import pytest
1212
13+ from pandas .compat .numpy import is_numpy_min
1314import pandas .util ._test_decorators as td
1415
1516from pandas import (
@@ -1198,6 +1199,7 @@ def test_iloc_getitem_int_single_ea_block_view(self):
11981199 arr [2 ] = arr [- 1 ]
11991200 assert ser [0 ] == arr [- 1 ]
12001201
1202+ @pytest .mark .xfail (is_numpy_min , reason = "Column A gets coerced to integer type" )
12011203 def test_iloc_setitem_multicolumn_to_datetime (self , using_array_manager ):
12021204
12031205 # GH#20511
You can’t perform that action at this time.
0 commit comments