From 2d1cc353ace6e98cc1d0fb18442cfb846729e514 Mon Sep 17 00:00:00 2001 From: Debian Science Team Date: Wed, 26 Aug 2020 22:34:50 +0100 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