From: Debian Science Team Date: Wed, 11 Jan 2023 07:34:28 +0000 (+0000) Subject: Xfail a test that doesn't work in the C locale X-Git-Tag: archive/raspbian/1.5.3+dfsg-2+rpi1~1^2^2~16 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=69101f64e3026f10b759075511a5a4392c69a318;p=pandas.git Xfail a test that doesn't work in the C locale Author: Rebecca N. Palmer Forwarded: no Gbp-Pq: Name xfail_c_locale.patch --- diff --git a/pandas/tests/config/test_localization.py b/pandas/tests/config/test_localization.py index f972a9ee..d9037340 100644 --- a/pandas/tests/config/test_localization.py +++ b/pandas/tests/config/test_localization.py @@ -132,6 +132,7 @@ def test_set_locale(lang, enc): assert before_locale == after_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"