Skip to content

Commit

Permalink
Use the correct single string method for passing args into subprocess…
Browse files Browse the repository at this point in the history
… calls on both Linux and Windows
  • Loading branch information
kyluca authored and ekohl committed Dec 12, 2019
1 parent ecd7a21 commit e56110a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,12 @@ def _get_subprocess_env():
check_output = partial(subprocess.check_output, env=SUBPROCESS_ENV)

xfail_if_no_git = pytest.mark.xfail(
call(["git version"]) != 0,
call("git version") != 0,
reason="git is not installed"
)

xfail_if_no_hg = pytest.mark.xfail(
call(["hg version"]) != 0,
call("hg version") != 0,
reason="hg is not installed"
)

Expand Down

0 comments on commit e56110a

Please sign in to comment.