From 69922e3277f0848e15dcdaaa0eaa346548f9d2d2 Mon Sep 17 00:00:00 2001 From: Arthur de Jong Date: Sun, 6 Oct 2019 16:07:04 +0200 Subject: Fix Python interpreter detection in tests Fixes 644bc62 --- tests/test_doctest.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') 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 -- cgit v1.2.3