From: Debian Science Team Date: Tue, 31 Jan 2023 13:21:16 +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~18 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=52cf78197e45dbb4cfd4da9732847d499d2ab95c;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"