Skip to content

Commit 149556f

Browse files
author
Sylvain MARIE
committed
Marked xfailing tests that now correctly run with the appropriate locale on it_IT and zh_CN runners, as strict=False.
1 parent 1cba2e9 commit 149556f

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

pandas/tests/tools/test_to_datetime.py

+3
Original file line numberDiff line numberDiff line change
@@ -291,6 +291,7 @@ def test_to_datetime_format_microsecond(self, cache):
291291
marks=pytest.mark.xfail(
292292
locale.getlocale()[0] in ("zh_CN", "it_IT"),
293293
reason="fail on a CI build with LC_ALL=zh_CN.utf8/it_IT.utf8",
294+
strict=False,
294295
),
295296
),
296297
pytest.param(
@@ -300,6 +301,7 @@ def test_to_datetime_format_microsecond(self, cache):
300301
marks=pytest.mark.xfail(
301302
locale.getlocale()[0] in ("zh_CN", "it_IT"),
302303
reason="fail on a CI build with LC_ALL=zh_CN.utf8/it_IT.utf8",
304+
strict=False,
303305
),
304306
),
305307
pytest.param(
@@ -309,6 +311,7 @@ def test_to_datetime_format_microsecond(self, cache):
309311
marks=pytest.mark.xfail(
310312
locale.getlocale()[0] in ("zh_CN", "it_IT"),
311313
reason="fail on a CI build with LC_ALL=zh_CN.utf8/it_IT.utf8",
314+
strict=False,
312315
),
313316
),
314317
],

pandas/tests/tools/test_to_time.py

+1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
fails_on_non_english = pytest.mark.xfail(
1313
locale.getlocale()[0] in ("zh_CN", "it_IT"),
1414
reason="fail on a CI build with LC_ALL=zh_CN.utf8/it_IT.utf8",
15+
strict=False,
1516
)
1617

1718

0 commit comments

Comments
 (0)