summaryrefslogtreecommitdiff
path: root/tox
diff options
context:
space:
mode:
authorholger krekel <holger.krekel@gmail.com>2016-10-11 12:10:12 +0000
committerGitHub <noreply@github.com>2016-10-11 12:10:12 +0000
commit7954ed221f9c9e4fe2fed86dfeb419f1776845ab (patch)
tree8f114a8e8a76fd95edfdc6ee35a8da696099ac65 /tox
parent3e66f01a2453ffc0a45e68660a10474302c123a0 (diff)
parente12c1761cbc1b13af1dd0280e4b4f7b55eb2ca9a (diff)
downloadtox-git-7954ed221f9c9e4fe2fed86dfeb419f1776845ab.tar.gz
Merge pull request #367 from jaraco/issue-330
Exclude PYTHONPATH when invoking install, as it won't be present when invoking tests.
Diffstat (limited to 'tox')
-rw-r--r--tox/venv.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tox/venv.py b/tox/venv.py
index 1fdc3ddd..5226e136 100644
--- a/tox/venv.py
+++ b/tox/venv.py
@@ -272,7 +272,7 @@ class VirtualEnv(object):
argv[i:i + 1] = list(options)
for x in ('PIP_RESPECT_VIRTUALENV', 'PIP_REQUIRE_VIRTUALENV',
- '__PYVENV_LAUNCHER__'):
+ '__PYVENV_LAUNCHER__', 'PYTHONPATH'):
os.environ.pop(x, None)
old_stdout = sys.stdout