summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBernát Gábor <gaborjbernat@gmail.com>2022-12-08 08:40:23 -0800
committerGitHub <noreply@github.com>2022-12-08 08:40:23 -0800
commita9bfef339f9dd0049016b86b57b9fac058ebd784 (patch)
tree419a4ccc652d43518ebb9c9cd07d43287101a2dc /src
parentab5ea45d00ef7b8d40f41440fd1bf7a160034baf (diff)
downloadtox-git-a9bfef339f9dd0049016b86b57b9fac058ebd784.tar.gz
Set always PYTHONIOENCODING to utf-8 (#2646)
Resolves https://github.com/tox-dev/tox/issues/2422
Diffstat (limited to 'src')
-rw-r--r--src/tox/config/sets.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tox/config/sets.py b/src/tox/config/sets.py
index d5e90c1f..e07f4bd4 100644
--- a/src/tox/config/sets.py
+++ b/src/tox/config/sets.py
@@ -219,6 +219,7 @@ class EnvConfigSet(ConfigSet):
def register_config(self) -> None:
def set_env_post_process(values: SetEnv) -> SetEnv:
values.update(self.default_set_env_loader(), override=False)
+ values.update({"PYTHONIOENCODING": "utf-8"}, override=True)
return values
def set_env_factory(raw: object) -> SetEnv: