From 2633d0c972e693e8f8c8faf70875d9646ea0bd9e Mon Sep 17 00:00:00 2001 From: Joris Van den Bossche Date: Fri, 15 Aug 2025 20:06:47 +0200 Subject: [PATCH] Backport PR #62124: CI/BLD: don't use strict xfail for '%m.%Y' format in test_hypothesis_delimited_date --- pandas/tests/tslibs/test_parsing.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pandas/tests/tslibs/test_parsing.py b/pandas/tests/tslibs/test_parsing.py index fb05a57056a83..2a3cc623e48ac 100644 --- a/pandas/tests/tslibs/test_parsing.py +++ b/pandas/tests/tslibs/test_parsing.py @@ -395,7 +395,8 @@ def test_hypothesis_delimited_date( request.applymarker( pytest.mark.xfail( reason="parse_datetime_string cannot reliably tell whether " - "e.g. %m.%Y is a float or a date" + "e.g. %m.%Y is a float or a date", + strict=False, ) ) date_string = test_datetime.strftime(date_format.replace(" ", delimiter))