]> granicus.if.org Git - graphviz/commitdiff
Remove python interpreter selection. Always use python3
authorMagnus Jacobsson <Magnus.Jacobsson@berotec.se>
Wed, 3 Jun 2020 11:33:16 +0000 (13:33 +0200)
committerMagnus Jacobsson <Magnus.Jacobsson@berotec.se>
Wed, 3 Jun 2020 11:34:19 +0000 (13:34 +0200)
ci/test.sh

index 14b6cdc1ab4eace59c63271e62713e208f28bb7f..5f6e9e02c2a00935e1ee4b37515f1a046e8d0fe2 100755 (executable)
@@ -28,9 +28,4 @@ else
         ${DIR}/os/${ARCH}/graphviz-plugins-gd-${GV_VERSION}*.rpm \
         ${DIR}/os/${ARCH}/graphviz-nox-${GV_VERSION}*.rpm
 fi
-if command -v python3; then
-    python=python3
-else
-    python=python2
-fi
-$python -m pytest --junitxml=report.xml tests rtest
+python3 -m pytest --junitxml=report.xml tests rtest