Skip to content

Commit

Permalink
Backport PR #28072: TST: non-strict xfail for period test (#28077)
Browse files Browse the repository at this point in the history
  • Loading branch information
meeseeksmachine authored and TomAugspurger committed Aug 22, 2019
1 parent 8795cb7 commit 8156e53
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion pandas/tests/scalar/period/test_period.py
Original file line number Diff line number Diff line change
Expand Up @@ -1581,7 +1581,11 @@ def test_period_immutable():


@pytest.mark.xfail(
PY35, reason="Parsing as Period('0007-01-01', 'D') for reasons unknown", strict=True
# xpassing on MacPython with strict=False
# https://travis-ci.org/MacPython/pandas-wheels/jobs/574706922
PY35,
reason="Parsing as Period('0007-01-01', 'D') for reasons unknown",
strict=False,
)
def test_small_year_parsing():
per1 = Period("0001-01-07", "D")
Expand Down

0 comments on commit 8156e53

Please sign in to comment.