Make venv tests work on 3.4 and 3.5
This commit is contained in:
parent
7f890d12b8
commit
a6067a8820
1 changed files with 3 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue