Skip to content

Commit

Permalink
Fixup tests on Windows, use UTF-8 for subprocess
Browse files Browse the repository at this point in the history
  • Loading branch information
hroncok committed Dec 14, 2022
1 parent 34b2d4b commit 089ec3f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/unit/session/test_parallel.py
Expand Up @@ -272,8 +272,7 @@ def invoke_tox_in_thread(thread_name, result_json):
# needs to be process to have it's own stdout
invoke_result[thread_name] = subprocess.check_output(
[sys.executable, "-m", "tox", "-p", "all", "--result-json", str(result_json)],
universal_newlines=True,
)
).decode("utf-8")
except subprocess.CalledProcessError as exception:
invoke_result[thread_name] = exception

Expand Down

0 comments on commit 089ec3f

Please sign in to comment.