From a6067a88207cd19a63c4095daf3eafb862b32633 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Fri, 20 Jul 2018 12:19:30 +0200 Subject: [PATCH] Make venv tests work on 3.4 and 3.5 --- smoke/venv.sh | 3 +++ 1 file changed, 3 insertions(+) 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