From 667d80bf3fd61c40d6d5c430b844c41ddd745a4a Mon Sep 17 00:00:00 2001 From: Elena ``of Valhalla'' Grandi Date: Thu, 4 Aug 2022 09:55:09 +0200 Subject: Allow the python executable used in tests to be changed --- check | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'check') diff --git a/check b/check index b5008c9..4961935 100755 --- a/check +++ b/check @@ -10,12 +10,8 @@ then exit 0 fi -if which nose2-3 > /dev/null -then - NOSE2=nose2-3 -else - NOSE2=nose2 -fi +PYTHON="${PYTHON:-python3}" +NOSE2="${NOSE2:-$PYTHON -m nose2}" export PYTHONDEVMODE=1 -- cgit v1.2.3