diff options
author | Bernát Gábor <bgabor8@bloomberg.net> | 2020-11-22 13:19:39 +0000 |
---|---|---|
committer | Bernát Gábor <bgabor8@bloomberg.net> | 2020-11-22 13:19:39 +0000 |
commit | cff47d5876d45e389aeddf8cfb5e5b234b25391d (patch) | |
tree | 337754b8392ed047b78afd800447ab15918e57cf /src/tox/pytest.py | |
parent | 0229cdd364cae405ef7078be9c4c65281e44b54a (diff) | |
download | tox-git-rewrote.tar.gz |
speed up test suite: symlinks, isolated python call and use wheel over sdistrewrote
Signed-off-by: Bernát Gábor <bgabor8@bloomberg.net>
Diffstat (limited to 'src/tox/pytest.py')
-rw-r--r-- | src/tox/pytest.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tox/pytest.py b/src/tox/pytest.py index a00ef3fb..d6b0be86 100644 --- a/src/tox/pytest.py +++ b/src/tox/pytest.py @@ -147,6 +147,8 @@ class ToxProject: with self.monkeypatch.context() as m: m.setattr(tox.run, "setup_state", our_setup_state) m.setattr(sys, "argv", [sys.executable, "-m", "tox"] + list(args)) + m.setenv("VIRTUALENV_SYMLINK_APP_DATA", "1") + m.setenv("VIRTUALENV_SYMLINKS", "1") try: tox_run(args) except SystemExit as exception: |