From 8c60dc788ee1babe35b73bef59840cf999bbf818 Mon Sep 17 00:00:00 2001 From: Andoni Morales Alastruey Date: Fri, 21 Jan 2011 18:13:57 +0100 Subject: [PATCH] tests: fix checks when the locale is not the default one Some tests (test_pbutils.py) checks against strings for the english locale, so we should force it before running any test https://bugzilla.gnome.org/show_bug.cgi?id=640207 --- testsuite/runtests.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/testsuite/runtests.py b/testsuite/runtests.py index f3e9b1f266..592a4e3005 100644 --- a/testsuite/runtests.py +++ b/testsuite/runtests.py @@ -28,6 +28,8 @@ import unittest SKIP_FILES = ['common', 'runtests'] +os.environ['LC_MESSAGES'] = 'C' + def gettestnames(which): if not which: dir = os.path.split(os.path.abspath(__file__))[0]