From c8480cbf80a8a34b7ff5b3d7f535ff5afc942a75 Mon Sep 17 00:00:00 2001 From: Jiri Podivin Date: Wed, 18 Aug 2021 09:53:54 +0200 Subject: [PATCH] Setting language for the python3.6 tox environment By ensuring the locale is set to US utf-8 we can avoid encoding errors. Closes-Bug: #1940313 Signed-off-by: Jiri Podivin Change-Id: I585a433e7480c22d52f402c1661194968ec66307 --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 1d64129a..f6c0beb3 100644 --- a/tox.ini +++ b/tox.ini @@ -20,7 +20,7 @@ setenv = VIRTUAL_ENV={envdir} LANG=en_US.UTF-8 LANGUAGE=en_US:en - LC_ALL=C + LC_ALL=en_US.UTF-8 HOME={envdir} commands = stestr run --slowest --color {posargs}