From 113dba8acd9a2163f9c4d893b3f3fed721f46ad6 Mon Sep 17 00:00:00 2001 From: Anderson Bravalheri Date: Fri, 6 Jan 2023 22:52:04 +0000 Subject: [PATCH] Ensure UTF-8 is used in system tests --- tests/helpers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/helpers.py b/tests/helpers.py index 1c940bb..728be6c 100644 --- a/tests/helpers.py +++ b/tests/helpers.py @@ -66,7 +66,7 @@ def run(*args, **kwargs): if args[0] in ("python", "putup", "pip", "tox", "pytest", "pre-commit"): raise SystemError("Please specify an executable with explicit path") - opts = dict(stderr=STDOUT, universal_newlines=True) + opts = dict(stderr=STDOUT, universal_newlines=True, encoding="utf-8") opts.update(kwargs) try: