From: Debian Science Team Date: Sun, 13 Nov 2022 10:36:51 +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^2~20 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=64f66ee1726f3abf039edc9da1f0ab51ca99b88c;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 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"