Make venv tests work on 3.4 and 3.5

This commit is contained in:
Miro Hrončok 2018-07-20 12:19:30 +02:00
commit a6067a8820

View file

@ -11,7 +11,10 @@ rm -rf venv .tox __pycache__ .pytest* test_*.py *.pyx *.c *.so || :
$PYTHON -m venv venv
# and activate it
# unset variables on 3.5, it's known
set +u
source venv/bin/activate
set -u
# run python in it
python -c 'import sys; print(sys.version)' | head -n1 | grep $VERSION