diff options
author | Jason R. Coombs <jaraco@jaraco.com> | 2020-05-15 05:00:02 -0400 |
---|---|---|
committer | Jason R. Coombs <jaraco@jaraco.com> | 2020-05-15 05:00:02 -0400 |
commit | 2f1d7173a196268008938e234e9e796bc6761b27 (patch) | |
tree | 5da9da381b538ffc900b1c765fffd897aed846ae | |
parent | 6463fee5c9ed5864eb554ee99ad292e5507d4b55 (diff) | |
download | external_python_setuptools-2f1d7173a196268008938e234e9e796bc6761b27.tar.gz external_python_setuptools-2f1d7173a196268008938e234e9e796bc6761b27.tar.bz2 external_python_setuptools-2f1d7173a196268008938e234e9e796bc6761b27.zip |
Avoid reliance on shell details in test_virtualenv.
-rw-r--r-- | setuptools/tests/test_virtualenv.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/setuptools/tests/test_virtualenv.py b/setuptools/tests/test_virtualenv.py index 6549a6c0..a62e564c 100644 --- a/setuptools/tests/test_virtualenv.py +++ b/setuptools/tests/test_virtualenv.py @@ -57,10 +57,7 @@ def test_clean_env_install(bare_virtualenv): """ Check setuptools can be installed in a clean environment. """ - bare_virtualenv.run(' && '.join(( - 'cd {source}', - 'python setup.py install', - )).format(source=SOURCE_DIR)) + bare_virtualenv.run(['python', 'setup.py', 'install'], cd=SOURCE_DIR) def _get_pip_versions(): |