mirror of https://github.com/secdev/scapy.git
Six import error in mock
This commit is contained in:
parent
4ec7ef1918
commit
398e52e616
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue