From: Debian Science Team Date: Mon, 7 Dec 2020 23:06: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^2^2^2^2^2^2^2^2^2~16 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=857627782d2388de47d6e5991e07b4cd14832af6;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 e815a902..4c5096fc 100644 --- a/pandas/tests/config/test_localization.py +++ b/pandas/tests/config/test_localization.py @@ -95,6 +95,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"