Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / zconfig / remove-setlocale-test.patch
blob6b3d3266b21b325a4cc0c140a033a453f77f0978
1 From 43fd87037be1c98b6afa20f179f2e2d8ef5491ba Mon Sep 17 00:00:00 2001
2 From: Will Dietz <w@wdtz.org>
3 Date: Fri, 20 Jul 2018 10:07:22 -0500
4 Subject: [PATCH] remove test that fails w/musl (setlocale() always succeeds)
6 ---
7 ZConfig/tests/test_datatypes.py | 1 -
8 1 file changed, 1 deletion(-)
10 diff --git a/ZConfig/tests/test_datatypes.py b/ZConfig/tests/test_datatypes.py
11 index 7c8d80c..addecd2 100644
12 --- a/ZConfig/tests/test_datatypes.py
13 +++ b/ZConfig/tests/test_datatypes.py
14 @@ -229,7 +229,6 @@ class DatatypeTestCase(unittest.TestCase):
15 convert = self.types.get("locale")
16 # Python supports "C" even when the _locale module is not available
17 self.assertEqual(convert("C"), "C")
18 - self.assertRaises(ValueError, convert, "locale-does-not-exist")
20 def test_datatype_port(self):
21 convert = self.types.get("port-number")
22 --
23 2.18.0