We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent de34ca3 commit ac68115Copy full SHA for ac68115
pandas/tests/scalar/timedelta/test_arithmetic.py
@@ -10,15 +10,13 @@
10
import numpy as np
11
import pytest
12
13
-from pandas.compat import is_numpy_dev
14
from pandas.errors import OutOfBoundsTimedelta
15
16
import pandas as pd
17
from pandas import (
18
NaT,
19
Timedelta,
20
Timestamp,
21
- compat,
22
offsets,
23
)
24
import pandas._testing as tm
@@ -434,15 +432,7 @@ def test_td_div_numeric_scalar(self):
434
432
"nan",
435
433
[
436
np.nan,
437
- pytest.param(
438
- np.float64("NaN"),
439
- marks=pytest.mark.xfail(
440
- # Works on numpy dev only in python 3.9
441
- is_numpy_dev and not compat.PY39,
442
- raises=RuntimeWarning,
443
- reason="https://github.com/pandas-dev/pandas/issues/31992",
444
- ),
445
+ np.float64("NaN"),
446
float("nan"),
447
],
448
0 commit comments