Setting language for the python3.6 tox environment

By ensuring the locale is set to US utf-8 we can avoid
encoding errors.

Change-Id: I4c8d000425b54ab2bc1275dc1fb74029eef87131
Closes-Bug: #1940313
This commit is contained in:
Cédric Jeanneret 2021-08-19 07:53:08 +02:00 committed by Jiri Podivin
parent 71f4c683c7
commit 9e3626a16c
1 changed files with 1 additions and 0 deletions

View File

@ -20,6 +20,7 @@ setenv =
ANSIBLE_STDOUT_CALLBACK=debug
ANSIBLE_LOG_PATH={envlogdir}/ansible-execution.log
VIRTUAL_ENV={envdir}
LC_ALL=en_US.UTF-8
# pip: Avoid 2020-01-01 warnings: https://github.com/pypa/pip/issues/6207
# paramiko CryptographyDeprecationWarning: https://github.com/ansible/ansible/issues/52598
PYTHONWARNINGS=ignore:DEPRECATION::pip._internal.cli.base_command,ignore::UserWarning