diff options
| author | Sviatoslav Sydorenko <wk@sydorenko.org.ua> | 2021-01-02 00:15:33 +0100 |
|---|---|---|
| committer | Sviatoslav Sydorenko <wk@sydorenko.org.ua> | 2021-01-18 00:47:04 +0100 |
| commit | 5f3d12316dc4e3c3f638786668cee38ff5a73bd3 (patch) | |
| tree | 023a0da020f0c0cbc8a91c774805a14aa4aa7f61 /setuptools/tests/test_virtualenv.py | |
| parent | fecbc2d2b439385bfee6ac52fa004a61ccde35f6 (diff) | |
| download | python-setuptools-git-5f3d12316dc4e3c3f638786668cee38ff5a73bd3.tar.gz | |
Use tmp src copy in `test_clean_env_install`
Diffstat (limited to 'setuptools/tests/test_virtualenv.py')
| -rw-r--r-- | setuptools/tests/test_virtualenv.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/setuptools/tests/test_virtualenv.py b/setuptools/tests/test_virtualenv.py index 79468b1b..d72dcbd0 100644 --- a/setuptools/tests/test_virtualenv.py +++ b/setuptools/tests/test_virtualenv.py @@ -43,11 +43,11 @@ def bare_virtualenv(): SOURCE_DIR = os.path.join(os.path.dirname(__file__), '../..') -def test_clean_env_install(bare_virtualenv): +def test_clean_env_install(bare_virtualenv, tmp_src): """ Check setuptools can be installed in a clean environment. """ - bare_virtualenv.run(['python', 'setup.py', 'install'], cd=SOURCE_DIR) + bare_virtualenv.run(['python', 'setup.py', 'install'], cd=tmp_src) def _get_pip_versions(): |
