From: Magnus Jacobsson Date: Sun, 31 May 2020 15:36:57 +0000 (+0200) Subject: Refactor python interpreter selection X-Git-Tag: 2.44.1~19^2~5 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3bac0472a1c9e0b33c8b5e45a8972dbaade002f2;p=graphviz Refactor python interpreter selection --- diff --git a/ci/test.sh b/ci/test.sh index 8451b91f9..2c6f24f87 100755 --- a/ci/test.sh +++ b/ci/test.sh @@ -31,7 +31,8 @@ else fi cd graphviz-${GV_VERSION} if command -v python3; then - python3 -m pytest --junitxml=report.xml tests + python=python3 else - python2 -m pytest --junitxml=report.xml tests + python=python2 fi +$python -m pytest --junitxml=report.xml tests