aboutsummaryrefslogtreecommitdiff
path: root/run_tests
diff options
context:
space:
mode:
Diffstat (limited to 'run_tests')
-rwxr-xr-xrun_tests4
1 files changed, 2 insertions, 2 deletions
diff --git a/run_tests b/run_tests
index 703edcd..0d1de1b 100755
--- a/run_tests
+++ b/run_tests
@@ -1,5 +1,5 @@
#!/bin/sh
-
-nose2-3 --with-coverage --coverage-report=term-missing
+NOSE=$(command -v nose2-3 || command -v nose2)
+$NOSE --with-coverage --coverage-report=term-missing
flake8 .
mypy pyapd