X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=configure;fp=configure;h=0921c0cc0e69233608ac3b600a302bec8fd4c4d0;hp=98f5f1ea8e255e98f9f03a450ea3d3d29eba6d10;hb=e4c4cc1b34cfaa6d7b96053644fa821878a67c56;hpb=0e4695abaa7bda20d92813571ad53fb141f3e38c diff --git a/configure b/configure index 98f5f1ea..0921c0cc 100755 --- a/configure +++ b/configure @@ -812,7 +812,7 @@ if [ $have_python3 -eq 1 ]; then printf "Checking for python3 pytest (>= 3.0)... " conf=$(mktemp) printf "[pytest]\nminversion=3.0\n" > $conf - if pytest-3 -c $conf --version >/dev/null 2>&1; then + if "$python" -m pytest -c $conf --version >/dev/null 2>&1; then printf "Yes.\n" have_python3_pytest=1 else