Xfail a test that doesn't work in the C locale
authorDebian Science Team <debian-science-maintainers@lists.alioth.debian.org>
Wed, 26 Aug 2020 21:34:50 +0000 (22:34 +0100)
committerRebecca N. Palmer <rebecca_palmer@zoho.com>
Wed, 26 Aug 2020 21:34:50 +0000 (22:34 +0100)
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"