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 <jpodivin@redhat.com> Change-Id: I42b45b5f0ccb4746c83da20cf5be7ef3066a861a
This commit is contained in:
parent
f5f66cd88a
commit
580139d2f2
2
tox.ini
2
tox.ini
@ -14,6 +14,8 @@ deps =
|
|||||||
-r{toxinidir}/requirements.txt
|
-r{toxinidir}/requirements.txt
|
||||||
-r{toxinidir}/test-requirements.txt
|
-r{toxinidir}/test-requirements.txt
|
||||||
commands = python setup.py testr --slowest --testr-args='{posargs}'
|
commands = python setup.py testr --slowest --testr-args='{posargs}'
|
||||||
|
setenv =
|
||||||
|
LC_ALL=en_US.UTF-8
|
||||||
|
|
||||||
[testenv:venv]
|
[testenv:venv]
|
||||||
commands = {posargs}
|
commands = {posargs}
|
||||||
|
Loading…
Reference in New Issue
Block a user