Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorArthur de Jong <arthur@arthurdejong.org>2019-10-06 16:07:04 +0200
committerArthur de Jong <arthur@arthurdejong.org>2019-10-06 16:08:05 +0200
commit69922e3277f0848e15dcdaaa0eaa346548f9d2d2 (patch)
tree2a89888c22f5ee33737c64bdbf84dea3672f02c7 /tests
parent62522b967c99e504ca8ad8a931da4c0f92dee04f (diff)
Fix Python interpreter detection in tests
Fixes 644bc62
Diffstat (limited to 'tests')
-rwxr-xr-xtests/test_doctest.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_doctest.sh b/tests/test_doctest.sh
index 56eb0da..5b3a13d 100755
--- a/tests/test_doctest.sh
+++ b/tests/test_doctest.sh
@@ -32,7 +32,7 @@ python="${PYTHON-python}"
find_python() {
for p in "${python}" python python2 python2.7 python3 python3.5 python3.6 python3.7 python3.8
do
- if [ -n "$p"] && "$p" --version > /dev/null 2> /dev/null
+ if [ -n "$p" ] && "$p" --version > /dev/null 2> /dev/null
then
readlink -f `which $p` 2> /dev/null || true
fi