Skip to content

Commit

Permalink
CI: Remove xfail for xpassing test for Python 3.8 (pandas-dev#42558)
Browse files Browse the repository at this point in the history
  • Loading branch information
lithomas1 authored Jul 16, 2021
1 parent de34ca3 commit ac68115
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions pandas/tests/scalar/timedelta/test_arithmetic.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,13 @@
import numpy as np
import pytest

from pandas.compat import is_numpy_dev
from pandas.errors import OutOfBoundsTimedelta

import pandas as pd
from pandas import (
NaT,
Timedelta,
Timestamp,
compat,
offsets,
)
import pandas._testing as tm
Expand Down Expand Up @@ -434,15 +432,7 @@ def test_td_div_numeric_scalar(self):
"nan",
[
np.nan,
pytest.param(
np.float64("NaN"),
marks=pytest.mark.xfail(
# Works on numpy dev only in python 3.9
is_numpy_dev and not compat.PY39,
raises=RuntimeWarning,
reason="https://github.com/pandas-dev/pandas/issues/31992",
),
),
np.float64("NaN"),
float("nan"),
],
)
Expand Down

0 comments on commit ac68115

Please sign in to comment.