From 0fc5d46ffd737be0dcf72586968d086be7bb0b9e Mon Sep 17 00:00:00 2001 From: Debian Science Team Date: Tue, 12 Jan 2021 21:06:04 +0000 Subject: [PATCH] Xfail a test that doesn't work in the C locale Author: Rebecca N. Palmer Forwarded: no Gbp-Pq: Name xfail_c_locale.patch --- pandas/tests/config/test_localization.py | 1 + 1 file changed, 1 insertion(+) 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" -- 2.30.2