Skip to content

Commit 7981a43

Browse files
Backport PR #62124 on branch 2.3.x (CI/BLD: don't use strict xfail for '%m.%Y' format in test_hypothesis_delimited_date) (#62128)
Co-authored-by: Joris Van den Bossche <[email protected]>
1 parent fafbcbd commit 7981a43

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pandas/tests/tslibs/test_parsing.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -395,7 +395,8 @@ def test_hypothesis_delimited_date(
395395
request.applymarker(
396396
pytest.mark.xfail(
397397
reason="parse_datetime_string cannot reliably tell whether "
398-
"e.g. %m.%Y is a float or a date"
398+
"e.g. %m.%Y is a float or a date",
399+
strict=False,
399400
)
400401
)
401402
date_string = test_datetime.strftime(date_format.replace(" ", delimiter))

0 commit comments

Comments
 (0)