Skip to content

Commit 7262d9e

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

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

pandas/tests/series/test_analytics.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
from numpy import nan
66
import pytest
77

8+
from pandas.compat import PY35
89
import pandas.util._test_decorators as td
910

1011
import pandas as pd
@@ -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)