Skip to content

Commit 54b96b2

Browse files
Backport PR #42413: CI: runtime warning in npdev build (#42415)
Co-authored-by: jbrockmendel <[email protected]>
1 parent 61afc70 commit 54b96b2

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

pandas/tests/scalar/timedelta/test_arithmetic.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
NaT,
1919
Timedelta,
2020
Timestamp,
21-
compat,
2221
offsets,
2322
)
2423
import pandas._testing as tm
@@ -438,7 +437,7 @@ def test_td_div_numeric_scalar(self):
438437
np.float64("NaN"),
439438
marks=pytest.mark.xfail(
440439
# Works on numpy dev only in python 3.9
441-
is_numpy_dev and not compat.PY39,
440+
is_numpy_dev,
442441
raises=RuntimeWarning,
443442
reason="https://github.com/pandas-dev/pandas/issues/31992",
444443
),

0 commit comments

Comments
 (0)