On 12/14/20 10:21 PM, Joseph Myers wrote: > On Mon, 14 Dec 2020, Martin Liška wrote: > >> + spawn -noecho pytest -rA -s --tb=no $script > > "pytest" might not be the right command everywhere. If I install > python3-pytest on Ubuntu 20.04 I only get /usr/bin/pytest-3 not > /usr/bin/pytest.
<python> -m pytest should work everywhere.