Xfail a test that doesn't work in the C locale
authorDebian Science Team <debian-science-maintainers@lists.alioth.debian.org>
Sun, 22 Jan 2023 11:54:30 +0000 (11:54 +0000)
committerRebecca N. Palmer <rebecca_palmer@zoho.com>
Sun, 22 Jan 2023 11:54:30 +0000 (11:54 +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 f972a9ee3b4979431d0f06fbfc0dedf50164873e..d9037340d97f0f216b20c2bc9e7be8d558a4fe5f 100644 (file)
@@ -132,6 +132,7 @@ def test_set_locale(lang, enc):
     assert before_locale == after_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"