Skip to content

Commit

Permalink
Merge branch 'dev' into failing-monai-test
Browse files Browse the repository at this point in the history
  • Loading branch information
hjmjohnson authored Jul 10, 2024
2 parents 24c0c42 + 8cfbcba commit e0c391f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion runtests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ function clang_format {
}

function is_pip_installed() {
return $("${PY_EXE}" -c "import sys, pkgutil; sys.exit(0 if pkgutil.find_loader(sys.argv[1]) else 1)" $1)
return $("${PY_EXE}" -c "import sys, importlib.util; sys.exit(0 if importlib.util.find_spec(sys.argv[1]) else 1)" $1)
}

function clean_py {
Expand Down

0 comments on commit e0c391f

Please sign in to comment.