From: Debian Science Team Date: Sun, 19 Feb 2023 11:01:48 +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^2~18 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=c85018ff11c9e857f3dadbb8408212fef05ac866;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"