From f43411c20233881f28525f89c9e1b6a041976df2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ond=C5=99ej=20Nov=C3=BD?= <onovy@debian.org>
Date: Tue, 9 Aug 2016 15:55:56 +0200
Subject: [PATCH] Simplified locales workaround for tests

---
 debian/control | 1 -
 debian/rules   | 6 +-----
 2 files changed, 1 insertion(+), 6 deletions(-)

diff --git a/debian/control b/debian/control
index cb30308..3a21137 100644
--- a/debian/control
+++ b/debian/control
@@ -5,7 +5,6 @@ Section: python
 Priority: optional
 Build-Depends: debhelper (>= 9),
                dh-python (>= 2.20160609~),
-               locales,
                python-all,
                python-click,
                python-pytest,
diff --git a/debian/rules b/debian/rules
index 5125514..fc349e4 100755
--- a/debian/rules
+++ b/debian/rules
@@ -10,8 +10,4 @@ override_dh_installdocs:
 	dh_installdocs -A README.rst
 
 override_dh_auto_test:
-	mkdir -p debian/tmp/locale/
-	localedef -f UTF-8 -i en_US ./debian/tmp/locale/en_US.UTF-8/
-	export LOCPATH=$(CURDIR)/debian/tmp/locale/ && \
-	export LC_ALL=en_US.UTF-8 && \
-	dh_auto_test
+	LC_ALL=C.UTF-8 dh_auto_test
-- 
GitLab