From 72c9ad1546223ad0aa22bceb8c9b57f885519c9d Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Mon, 28 Sep 2015 13:31:37 -0400 Subject: Fix tox env for machine installed python version With this env var we force the local /bin/coverage to still source locally unavailable modules from the .tox directory. Signed-off-by: Simo Sorce Reviewed-by: Christian Heimes --- tox.ini | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tox.ini b/tox.ini index 3572322..faae3bc 100644 --- a/tox.ini +++ b/tox.ini @@ -2,6 +2,8 @@ envlist = py27,py34,doc,sphinx [testenv] +setenv = + PYTHONPATH = {envsitepackagesdir} deps = pytest coverage -- cgit