Skip to content

Commit

Permalink
Fix download=True option (#1558) (#1766)
Browse files Browse the repository at this point in the history
No test yet.
  • Loading branch information
alexmorley authored Jan 3, 2021
1 parent 65641d4 commit 4061f56
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/tox/venv.py
Original file line number Diff line number Diff line change
Expand Up @@ -706,6 +706,8 @@ def tox_testenv_create(venv, action):
args.append("--always-copy")
if not venv.envconfig.download:
args.append("--no-download")
else:
args.append("--download")
# add interpreter explicitly, to prevent using default (virtualenv.ini)
args.extend(["--python", str(config_interpreter)])

Expand Down

0 comments on commit 4061f56

Please sign in to comment.