X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=tests%2Futils%2Futils.sh;h=e2b730923685828301a158ecbba35a19e3fc1402;hb=faf5c654855a7a42093e43c4c739bb69dd2375d3;hp=da389f38b34068253113faa3b1f24ba83b97c9ca;hpb=ec48dce5240d32024e33d519de41eaf5fc7a5a31;p=babeltrace.git diff --git a/tests/utils/utils.sh b/tests/utils/utils.sh index da389f38..e2b73092 100644 --- a/tests/utils/utils.sh +++ b/tests/utils/utils.sh @@ -309,7 +309,7 @@ check_coverage() { run_python() { local our_pythonpath="${BT_TESTS_SRCDIR}/utils/python" - if [[ $BT_TESTS_PYTHON_VERSION = 3.4 ]]; then + if [[ $BT_TESTS_PYTHON_VERSION =~ 3.[45] ]]; then # Add a local directory containing a `typing.py` to `PYTHONPATH` for # Python 3.4 which doesn't offer the `typing` module. our_pythonpath="$our_pythonpath:${BT_TESTS_SRCDIR}/utils/python/typing"