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 623ba94 commit 186a544
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 @@ -5,6 +5,7 @@
from numpy import nan
import pytest

from pandas.compat import PY35
import pandas.util._test_decorators as td

import pandas as pd
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 186a544

Please sign in to comment.