[PATCH 4/5] tests: run python-cffi tests
tomi.ollila at iki.fi
Mon Nov 4 14:04:03 PST 2019
On Mon, Nov 04 2019, Tomi Ollila wrote:
> as for checking pytest existence, the following works somewhat:
> ~/test-venv/bin/python3 -m pytest --version
> It prints the version, then exists. Could not figure out how to request
> specific version in quick look (10 min search/trial/error session),
> parsing version output is so... :/
Hah, dumped ~/test-venv/.
$ python3 -m venv ~/test-venv
$ ~/test-venv/bin/pip3 install pytest
>>> import pytest
prints out '5.2.2'. argh, string again (in addition to resorting
to __...__ names/attributes of whatever these are called in python ;).
anyway, even parsing this version string in python than doing it in
shell script would be better...(*)
anything better ?
(*) got exhausted when looking through this:
More information about the notmuch