summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/strpdatetime/fix-locale.patch
blob: d79bd63c665568e47b4162fd7fe9c7cb8b2e3f80 (about) (plain)
1
2
3
4
5
6
7
8
9
10
diff --git a/tests/test_strpdatetime.py b/tests/test_strpdatetime.py
index 6c371d6..a3d0232 100644
--- a/tests/test_strpdatetime.py
+++ b/tests/test_strpdatetime.py
@@ -44,5 +44,4 @@ TEST_DATA = [
 @pytest.mark.parametrize("string, format, expected", TEST_DATA)
 def test_datetime_strptime(string, format, expected):
     """Test datetime_strptime"""
-    locale.setlocale(locale.LC_ALL, "en_US.UTF-8")
     assert strpdatetime(string, format) == expected