hide pytest check message

This commit is contained in:
arowser
2018-12-18 11:31:57 +08:00
committed by Christian Decker
parent c9e7b4fc6a
commit 7b043503e2

2
configure vendored
View File

@@ -82,7 +82,7 @@ find_pytest()
for p in $PYTHON_BINS; do
if [ "$(which $p)" != "" ] ; then
$p --version 2>&1 | grep -q "Python 3." || continue
if $p -c "import pytest" ; then
if $p -c "import pytest" 2>/dev/null ; then
echo "$p -m pytest"
return
fi