Skip to content

Commit 1b3b3e9

Browse files
committed
unxfail
1 parent 8b34806 commit 1b3b3e9

File tree

1 file changed

+2
-15
lines changed

1 file changed

+2
-15
lines changed

pandas/tests/scalar/timedelta/test_arithmetic.py

+2-15
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
import pytest
99

1010
import pandas as pd
11-
from pandas import NaT, Timedelta, Timestamp, _is_numpy_dev, compat, offsets
11+
from pandas import NaT, Timedelta, Timestamp, offsets
1212
import pandas._testing as tm
1313
from pandas.core import ops
1414

@@ -416,20 +416,7 @@ def test_td_div_numeric_scalar(self):
416416
assert result == Timedelta(days=2)
417417

418418
@pytest.mark.parametrize(
419-
"nan",
420-
[
421-
np.nan,
422-
pytest.param(
423-
np.float64("NaN"),
424-
marks=pytest.mark.xfail(
425-
# Works on numpy dev only in python 3.9
426-
_is_numpy_dev and not compat.PY39,
427-
raises=RuntimeWarning,
428-
reason="https://github.com/pandas-dev/pandas/issues/31992",
429-
),
430-
),
431-
float("nan"),
432-
],
419+
"nan", [np.nan, np.float64("NaN"), float("nan")],
433420
)
434421
def test_td_div_nan(self, nan):
435422
# np.float64('NaN') has a 'dtype' attr, avoid treating as array

0 commit comments

Comments
 (0)