aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xcheck8
1 files changed, 2 insertions, 6 deletions
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