summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-misc/gramps/files/gramps-5.2.1-test_locale.patch')
-rw-r--r--app-misc/gramps/files/gramps-5.2.1-test_locale.patch30
1 files changed, 0 insertions, 30 deletions
diff --git a/app-misc/gramps/files/gramps-5.2.1-test_locale.patch b/app-misc/gramps/files/gramps-5.2.1-test_locale.patch
deleted file mode 100644
index e1e0b7997075..000000000000
--- a/app-misc/gramps/files/gramps-5.2.1-test_locale.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-GEDCOM-import tests explicitly set the locale to en_US.UTF8 because they
-assume a US date and time format. That locale is not guaranteed to be
-present and checking that in ebuild is a hassle, therefore use C.UTF8
-instead - it's similar enough.
-
---- a/data/tests/imp_sample.gramps
-+++ b/data/tests/imp_sample.gramps
-@@ -1719,7 +1719,7 @@
- </style>
- </note>
- <note handle="_000000fa000000fa" change="1695230065" id="N0037" type="General">
-- <text>Objects referenced by this note were missing in a file imported on 12/25/1999 12:00:00 AM.</text>
-+ <text>Objects referenced by this note were missing in a file imported on 12/25/99 00:00:00.</text>
- </note>
- </notes>
- </database>
---- a/gramps/plugins/test/imports_test.py
-+++ b/gramps/plugins/test/imports_test.py
-@@ -54,10 +54,7 @@
- # ------------------------------------------------------------------
-
- # These tests assume a US date and time format.
--try:
-- locale.setlocale(locale.LC_ALL, "en_US.utf8")
--except locale.Error: # seems to fail on Windows system for some reason
-- locale.setlocale(locale.LC_ALL, "English_United States")
-+locale.setlocale(locale.LC_ALL, "C.utf8")
-
-
- def mock_time(*args):