Skip to content

Commit 90f5c78

Browse files
mroeschkeyehoshuadimarsky
authored andcommitted
CI: Fix failing CI for test_alignment_deprecation_many_inputs (pandas-dev#45597)
1 parent 7d300e0 commit 90f5c78

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

pandas/compat/numpy/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
np_version_under1p19 = _nlv < Version("1.19")
1010
np_version_under1p20 = _nlv < Version("1.20")
1111
np_version_under1p22 = _nlv < Version("1.22")
12-
np_version_is1p22 = _nlv == Version("1.22")
12+
np_version_gte1p22 = _nlv >= Version("1.22")
1313
is_numpy_dev = _nlv.dev is not None
1414
_min_numpy_ver = "1.18.5"
1515

pandas/tests/frame/test_ufunc.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import numpy as np
44
import pytest
55

6-
from pandas.compat.numpy import np_version_is1p22
6+
from pandas.compat.numpy import np_version_gte1p22
77
import pandas.util._test_decorators as td
88

99
import pandas as pd
@@ -262,7 +262,7 @@ def test_alignment_deprecation_many_inputs(request):
262262
vectorize,
263263
)
264264

265-
if np_version_is1p22:
265+
if np_version_gte1p22:
266266
mark = pytest.mark.xfail(
267267
reason="ufunc 'my_ufunc' did not contain a loop with signature matching "
268268
"types",

0 commit comments

Comments
 (0)