diff --git a/test/test_cli.py b/test/test_cli.py index f000b3d..b78960d 100644 --- a/test/test_cli.py +++ b/test/test_cli.py @@ -1,6 +1,7 @@ import subprocess +import sys def test_help(): assert subprocess.call(['python', '-m', 'pycm', '--help']) == 0 - assert subprocess.call(['pycm', '--help']) == 0 + assert subprocess.call(['pycm', '--help'], shell=sys.platform == "win32") == 0