Skip to content

Commit

Permalink
Ensure utf-8 is used in subprocess output for system tests
Browse files Browse the repository at this point in the history
  • Loading branch information
abravalheri committed Jan 6, 2023
1 parent c88dbae commit 1c52830
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/system/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,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:
Expand Down

0 comments on commit 1c52830

Please sign in to comment.