def test_commandline_basic(tmpdir):
 subprocess.check_call([sys.executable, VIRTUALENV_SCRIPT, str(tmpdir.join('venv'))])

def test_commandline_basic ( tmpdir ) : subprocess . check_call ( [ sys . executable , VIRTUALENV_SCRIPT , str ( tmpdir . join ( 'venv' ) ) ] )
simple command line usage should work .