Skip to content

Commit 91ae319

Browse files
lithomas1meeseeksmachine
authored andcommitted
Backport PR pandas-dev#42539: Revert "CI: runtime warning in npdev build"
1 parent aec6293 commit 91ae319

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pandas/tests/scalar/timedelta/test_arithmetic.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
NaT,
1919
Timedelta,
2020
Timestamp,
21+
compat,
2122
offsets,
2223
)
2324
import pandas._testing as tm
@@ -437,7 +438,7 @@ def test_td_div_numeric_scalar(self):
437438
np.float64("NaN"),
438439
marks=pytest.mark.xfail(
439440
# Works on numpy dev only in python 3.9
440-
is_numpy_dev,
441+
is_numpy_dev and not compat.PY39,
441442
raises=RuntimeWarning,
442443
reason="https://github.com/pandas-dev/pandas/issues/31992",
443444
),

0 commit comments

Comments
 (0)