From db28b4b078da5fcd15247a1c1b757ad5daee397f Mon Sep 17 00:00:00 2001 From: Olivier Gayot Date: Tue, 12 May 2020 21:34:37 +0200 Subject: 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 --- run-tests.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'run-tests.sh') 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/ -- cgit v1.2.3