Skip to content

Commit

Permalink
TST: Make an inconsistent xfail non-strict under Python 3.5
Browse files Browse the repository at this point in the history
  • Loading branch information
stuarteberg committed Aug 14, 2019
1 parent ab66315 commit 422804c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pandas/tests/series/test_analytics.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
notna,
)
from pandas.api.types import is_scalar
from pandas.compat import PY35
from pandas.core.index import MultiIndex
from pandas.core.indexes.datetimes import Timestamp
import pandas.util.testing as tm
Expand Down Expand Up @@ -1489,7 +1490,8 @@ def test_value_counts_with_nan(self):
"unicode_",
"timedelta64[h]",
pytest.param(
"datetime64[D]", marks=pytest.mark.xfail(reason="GH#7996", strict=True)
"datetime64[D]",
marks=pytest.mark.xfail(reason="GH#7996", strict=not PY35),
),
],
)
Expand Down

0 comments on commit 422804c

Please sign in to comment.