Commit 66ca4205 authored by Jason R. Coombs's avatar Jason R. Coombs

Use 'virtualenv.python'. Fixes #2434.

parent 898ae046
......@@ -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()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment