Skip to content

Commit 9e10010

Browse files
committed
Fix the cause of Windows CI fail
1 parent 8031261 commit 9e10010

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

tests/test_cli.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,7 @@
33

44

55
def execute_cli(*args, must_fail=False):
6-
stdout = subprocess.run(("thumbnails", *args), capture_output=True)
7-
assert stdout.returncode == must_fail
8-
return stdout.stdout.decode()
6+
assert subprocess.call(("thumbnails", *args)) == must_fail
97

108

119
def test_cli_help():

0 commit comments

Comments
 (0)