From a6067a88207cd19a63c4095daf3eafb862b32633 Mon Sep 17 00:00:00 2001 From: Miro HronĨok Date: Jul 20 2018 10:19:30 +0000 Subject: Make venv tests work on 3.4 and 3.5 --- diff --git a/smoke/venv.sh b/smoke/venv.sh index b20291f..df58d21 100755 --- a/smoke/venv.sh +++ b/smoke/venv.sh @@ -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