From: Oleg Broytman Date: Sat, 24 Sep 2016 05:00:04 +0000 (+0300) Subject: Simplify tox.ini: call pytest with the current python X-Git-Url: https://git.phdru.name/?p=cookiecutter.git;a=commitdiff_plain;h=d2ae446948dfe5dea3be425184a7319257deec38 Simplify tox.ini: call pytest with the current python --- diff --git a/project_template/tox.ini b/project_template/tox.ini index 39baacd..700cac6 100644 --- a/project_template/tox.ini +++ b/project_template/tox.ini @@ -14,11 +14,10 @@ sitepackages = True # Don't fail or warn on uninstalled commands whitelist_externals = flake8 - py.test [general] commands = - python /usr/local/bin/py.test --cov={envsitepackagesdir}/{project} + python -m pytest --cov={project} [testenv:py26] commands = {[general]commands}