From a58de85ccfbd22336e0834fe93b3edcdafd8a619 Mon Sep 17 00:00:00 2001 From: Debian Science Team Date: Fri, 25 Mar 2022 20:57:26 +0000 Subject: [PATCH] Xfail a test that doesn't work in the C locale Author: Rebecca N. Palmer Forwarded: no Gbp-Pq: Name xfail_c_locale.patch --- pandas/tests/config/test_localization.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pandas/tests/config/test_localization.py b/pandas/tests/config/test_localization.py index 21b1b7ed..8a4a4afa 100644 --- a/pandas/tests/config/test_localization.py +++ b/pandas/tests/config/test_localization.py @@ -99,6 +99,7 @@ def test_set_locale(lang, enc): assert current_locale == _current_locale +@pytest.mark.xfail(strict=False,reason="fails in C locale") def test_encoding_detected(): system_locale = os.environ.get("LC_ALL") system_encoding = system_locale.split(".")[-1] if system_locale else "utf-8" -- 2.30.2