Skip to content

Commit

Permalink
Add encoding to test helpers
Browse files Browse the repository at this point in the history
  • Loading branch information
abravalheri committed Jan 6, 2023
1 parent 113dba8 commit 8cac833
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,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 8cac833

Please sign in to comment.