Skip to content

Commit

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

0 comments on commit 113dba8

Please sign in to comment.