diff options
author | Gregory P. Smith [Google LLC] <gps@google.com> | 2021-05-11 19:37:57 -0700 |
---|---|---|
committer | Gregory P. Smith [Google LLC] <gps@google.com> | 2021-05-11 19:37:57 -0700 |
commit | 11593a7e338adcc527f3eb324c21440d566c508d (patch) | |
tree | 858de1d2df586963f1e93356756fcca315e6810a | |
parent | 8266a96350f5e51a36e95fa671baa59b154d61ff (diff) | |
download | portpicker-11593a7e338adcc527f3eb324c21440d566c508d.tar.gz |
old py2 testing on CI requires virtualenv not venv
-rwxr-xr-x | test.sh | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -14,7 +14,7 @@ PYTHONPATH=src build/test_envs/python3/bin/python3 src/tests/portserver_test.py if which python2.7 >/dev/null ; then echo 'TESTING under Python 2.7' mkdir -p build/test_envs/python2 - python2.7 -m venv build/test_envs/python2 + virtualenv --python=python2.7 build/test_envs/python2 build/test_envs/python2/bin/pip install mock build/test_envs/python2/bin/pip install --upgrade . build/test_envs/python2/bin/python2 src/tests/portpicker_test.py |