diff options
| author | Jason R. Coombs <jaraco@jaraco.com> | 2020-10-17 21:36:34 -0400 |
|---|---|---|
| committer | Jason R. Coombs <jaraco@jaraco.com> | 2020-10-17 21:36:34 -0400 |
| commit | 66ca4205ee7e017d6c10346f0bd71fcfc556211f (patch) | |
| tree | 76a6bde0d54d03e53e2b8e59623c6492ac5823e1 /setuptools/tests/test_virtualenv.py | |
| parent | 898ae04656066d88add9c0a8750f32f938d99716 (diff) | |
| download | python-setuptools-git-66ca4205ee7e017d6c10346f0bd71fcfc556211f.tar.gz | |
Use 'virtualenv.python'. Fixes #2434.
Diffstat (limited to 'setuptools/tests/test_virtualenv.py')
| -rw-r--r-- | setuptools/tests/test_virtualenv.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/setuptools/tests/test_virtualenv.py b/setuptools/tests/test_virtualenv.py index b555ce4f..c8ed9e57 100644 --- a/setuptools/tests/test_virtualenv.py +++ b/setuptools/tests/test_virtualenv.py @@ -168,8 +168,9 @@ def _check_test_command_install_requirements(virtualenv, tmpdir): open('success', 'w').close() ''')) # Run test command for test package. - virtualenv.run( - ['python', 'setup.py', 'test', '-s', 'test'], cd=str(tmpdir)) + # use 'virtualenv.python' as workaround for man-group/pytest-plugins#166 + cmd = [virtualenv.python, 'setup.py', 'test', '-s', 'test'] + virtualenv.run(cmd, cd=str(tmpdir)) assert tmpdir.join('success').check() |
