Tomi Ollila <tomi.ollila@iki.fi> writes:
>
> Right -- just that pytest-3 may not be available -- to iterate (tested)...
>
> if ${NOTMUCH_PYTHON} -m pytest -c $conf --version >/dev/null 2>&1; then
>
The problem with this is that it might pass if pytest is only installed
for python2.
> (in this particular case redirecting both stdout and stderr is needed
> to silence noise in all 'ordinary' cases, being
> 1) pytest module not available -- silence stderr
> 2) pytest version not new enough -- silence stderr
> 3) pytest exists and is new enought -- silence stdout )
agreed
_______________________________________________
notmuch mailing list
notmuch@notmuchmail.org
https://notmuchmail.org/mailman/listinfo/notmuch