File tree Expand file tree Collapse file tree 1 file changed +1
-11
lines changed
pandas/tests/scalar/timedelta Expand file tree Collapse file tree 1 file changed +1
-11
lines changed Original file line number Diff line number Diff line change 10
10
import numpy as np
11
11
import pytest
12
12
13
- from pandas .compat import is_numpy_dev
14
13
from pandas .errors import OutOfBoundsTimedelta
15
14
16
15
import pandas as pd
17
16
from pandas import (
18
17
NaT ,
19
18
Timedelta ,
20
19
Timestamp ,
21
- compat ,
22
20
offsets ,
23
21
)
24
22
import pandas ._testing as tm
@@ -434,15 +432,7 @@ def test_td_div_numeric_scalar(self):
434
432
"nan" ,
435
433
[
436
434
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
- ),
435
+ np .float64 ("NaN" ),
446
436
float ("nan" ),
447
437
],
448
438
)
You can’t perform that action at this time.
0 commit comments