From d2ae446948dfe5dea3be425184a7319257deec38 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Sat, 24 Sep 2016 08:00:04 +0300 Subject: [PATCH] Simplify tox.ini: call pytest with the current python --- project_template/tox.ini | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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} -- 2.39.5