From 3bac0472a1c9e0b33c8b5e45a8972dbaade002f2 Mon Sep 17 00:00:00 2001 From: Magnus Jacobsson Date: Sun, 31 May 2020 17:36:57 +0200 Subject: [PATCH] Refactor python interpreter selection --- ci/test.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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 -- 2.50.1