Six import error in mock

This commit is contained in:
Guillaume Valadon 2017-07-31 14:12:37 +02:00 committed by Guillaume Valadon
parent 4ec7ef1918
commit 398e52e616
1 changed files with 2 additions and 2 deletions

View File

@ -10,9 +10,9 @@ fi
if python --version 2>&1 | grep -q PyPy; then
# cryptography requires PyPy >= 2.6, Travis CI uses 2.5.0
$SCAPY_SUDO pip install $PIP_INSTALL_FLAGS mock
$SCAPY_SUDO pip install $PIP_INSTALL_FLAGS -U mock
else
$SCAPY_SUDO pip install $PIP_INSTALL_FLAGS cryptography mock
$SCAPY_SUDO pip install $PIP_INSTALL_FLAGS -U cryptography mock
fi
# Install coverage