Skip to content

TST: xfail unit test on min build #47259

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 7, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions pandas/compat/numpy/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
np_version_gte1p22 = _nlv >= Version("1.22")
is_numpy_dev = _nlv.dev is not None
_min_numpy_ver = "1.19.5"
is_numpy_min = _nlv == Version(_min_numpy_ver)

if is_numpy_dev or not np_version_under1p22:
np_percentile_argname = "method"
Expand Down
2 changes: 2 additions & 0 deletions pandas/tests/indexing/test_iloc.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
import numpy as np
import pytest

from pandas.compat.numpy import is_numpy_min
import pandas.util._test_decorators as td

from pandas import (
Expand Down Expand Up @@ -1198,6 +1199,7 @@ def test_iloc_getitem_int_single_ea_block_view(self):
arr[2] = arr[-1]
assert ser[0] == arr[-1]

@pytest.mark.xfail(is_numpy_min, reason="Column A gets coerced to integer type")
def test_iloc_setitem_multicolumn_to_datetime(self, using_array_manager):

# GH#20511
Expand Down