aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregory P. Smith [Google LLC] <gps@google.com>2021-05-11 19:37:57 -0700
committerGregory P. Smith [Google LLC] <gps@google.com>2021-05-11 19:37:57 -0700
commit11593a7e338adcc527f3eb324c21440d566c508d (patch)
tree858de1d2df586963f1e93356756fcca315e6810a
parent8266a96350f5e51a36e95fa671baa59b154d61ff (diff)
downloadportpicker-11593a7e338adcc527f3eb324c21440d566c508d.tar.gz
old py2 testing on CI requires virtualenv not venv
-rwxr-xr-xtest.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/test.sh b/test.sh
index cf53565..ab53aa0 100755
--- a/test.sh
+++ b/test.sh
@@ -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