Xfail a test that doesn't work in the C locale
authorDebian Science Team <debian-science-maintainers@lists.alioth.debian.org>
Tue, 12 Jan 2021 21:06:04 +0000 (21:06 +0000)
committerRebecca N. Palmer <rebecca_palmer@zoho.com>
Tue, 12 Jan 2021 21:06:04 +0000 (21:06 +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 e815a90207a082c73c03bf831ff22e385821e47f..4c5096fc8cbc9e96ec557b64b3e287857d7b625f 100644 (file)
@@ -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"