diff options
author | Olivier Gayot <olivier.gayot@sigexec.com> | 2020-05-12 21:34:37 +0200 |
---|---|---|
committer | Olivier Gayot <olivier.gayot@sigexec.com> | 2020-05-12 21:42:40 +0200 |
commit | db28b4b078da5fcd15247a1c1b757ad5daee397f (patch) | |
tree | f5aa5d5dc1f7dfc89e8d4d3ac8570c3025d5f8d8 /run-tests.sh | |
parent | b6ecd410ee6a826a5756258073398da95157d77e (diff) |
Use python3 -m pytest syntax instead of pytest
On Debian, pytest is installed by the python2 package named
python-pytest. On Archlinux, pytest is a python3 package installed by
python-pytest. The use of python3 -m pytest allows to get rid of the
discrepancy.
Signed-off-by: Olivier Gayot <olivier.gayot@sigexec.com>
Diffstat (limited to 'run-tests.sh')
-rwxr-xr-x | run-tests.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/run-tests.sh b/run-tests.sh index f6db76f..e9422bc 100755 --- a/run-tests.sh +++ b/run-tests.sh @@ -1,3 +1,3 @@ #!/bin/sh -PYTHONPATH="$PWD" pytest tests/ +PYTHONPATH="$PWD" python3 -m pytest tests/ |