summarylogtreecommitdiffstats
path: root/pitivi-git-fix-locale-on-tests.patch
diff options
context:
space:
mode:
Diffstat (limited to 'pitivi-git-fix-locale-on-tests.patch')
-rw-r--r--pitivi-git-fix-locale-on-tests.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/pitivi-git-fix-locale-on-tests.patch b/pitivi-git-fix-locale-on-tests.patch
new file mode 100644
index 000000000000..017997dc6896
--- /dev/null
+++ b/pitivi-git-fix-locale-on-tests.patch
@@ -0,0 +1,12 @@
+diff -Naurp a/tests/common.py b/tests/common.py
+--- a/tests/common.py 2019-06-09 20:32:43.467373877 +0000
++++ b/tests/common.py 2019-06-09 20:26:01.000000000 +0000
+@@ -74,7 +74,7 @@ for category in ["Gtk", "Gdk", "GLib-GOb
+
+ detect_leaks = os.environ.get("PITIVI_TEST_DETECT_LEAKS", "0") not in ("0", "")
+ os.environ["PITIVI_USER_CACHE_DIR"] = tempfile.mkdtemp(suffix="pitiviTestsuite")
+-locale.setlocale(locale.LC_ALL, "en_US")
++locale.setlocale(locale.LC_ALL, "en_US.UTF-8")
+
+
+ def __create_settings(proxyingStrategy=ProxyingStrategy.NOTHING,