Skip to content

Commit 422804c

Browse files
committed
TST: Make an inconsistent xfail non-strict under Python 3.5
1 parent ab66315 commit 422804c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

pandas/tests/series/test_analytics.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
notna,
1919
)
2020
from pandas.api.types import is_scalar
21+
from pandas.compat import PY35
2122
from pandas.core.index import MultiIndex
2223
from pandas.core.indexes.datetimes import Timestamp
2324
import pandas.util.testing as tm
@@ -1489,7 +1490,8 @@ def test_value_counts_with_nan(self):
14891490
"unicode_",
14901491
"timedelta64[h]",
14911492
pytest.param(
1492-
"datetime64[D]", marks=pytest.mark.xfail(reason="GH#7996", strict=True)
1493+
"datetime64[D]",
1494+
marks=pytest.mark.xfail(reason="GH#7996", strict=not PY35),
14931495
),
14941496
],
14951497
)

0 commit comments

Comments
 (0)