Xfail a test that doesn't work in the C locale
authorDebian Science Team <debian-science-maintainers@lists.alioth.debian.org>
Fri, 25 Mar 2022 20:57:26 +0000 (20:57 +0000)
committerRebecca N. Palmer <rebecca_palmer@zoho.com>
Fri, 25 Mar 2022 20:57:26 +0000 (20:57 +0000)
Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Forwarded: no

Gbp-Pq: Name xfail_c_locale.patch

pandas/tests/config/test_localization.py

index 21b1b7ed6ee65ed8883cc3cb334257aa0c3c21fe..8a4a4afaab8c7d69f3715818c54a455024249757 100644 (file)
@@ -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"