Skip to content

Commit 3b0be9b

Browse files
authored
try to fix test under Windows/tox
1 parent f12e84f commit 3b0be9b

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

test/test_scripts.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,12 @@ def test_do_commands_exist(self):
2828
"""
2929
for command in self._commands():
3030
try:
31-
subprocess.check_output(command.split(), stderr=subprocess.STDOUT)
31+
subprocess.check_output(
32+
command.split(),
33+
stderr=subprocess.STDOUT,
34+
encoding='utf-8',
35+
shell=IS_WINDOWS,
36+
)
3237
except subprocess.CalledProcessError as e:
3338
return_code = e.returncode
3439
output = e.output

0 commit comments

Comments
 (0)