From: Debian Science Team Date: Wed, 26 Aug 2020 21:34:50 +0000 (+0100) Subject: Xfail a test that doesn't work in the C locale X-Git-Tag: archive/raspbian/1.0.5+dfsg-3+rpi1^2~17 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=2d1cc353ace6e98cc1d0fb18442cfb846729e514;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"