Skip to content

Use `python -m pytest` to avoid needing bin/pytest in virtualenv

Chris Kerr requested to merge tox-cmdline into master

Using the pytest command will call /usr/bin/pytest unless the pytest package has been reinstalled (updated) in the tox virtualenv bin directory. Changing to python -m pytest means that pytest is always called from inside the virtual environment.

Merge request reports

Loading