Skip to content

Commit becb774

Browse files
TST: non-strict xfail for period test (#28072)
This was XPASSing on the MacPython builds: https://travis-ci.org/MacPython/pandas-wheels/jobs/574706922
1 parent 7f6ba6b commit becb774

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

pandas/tests/scalar/period/test_period.py

+5-1
Original file line numberDiff line numberDiff line change
@@ -1549,7 +1549,11 @@ def test_period_immutable():
15491549

15501550

15511551
@pytest.mark.xfail(
1552-
PY35, reason="Parsing as Period('0007-01-01', 'D') for reasons unknown", strict=True
1552+
# xpassing on MacPython with strict=False
1553+
# https://travis-ci.org/MacPython/pandas-wheels/jobs/574706922
1554+
PY35,
1555+
reason="Parsing as Period('0007-01-01', 'D') for reasons unknown",
1556+
strict=False,
15531557
)
15541558
def test_small_year_parsing():
15551559
per1 = Period("0001-01-07", "D")

0 commit comments

Comments
 (0)