Skip to content

Commit e0c391f

Browse files
authored
Merge branch 'dev' into failing-monai-test
2 parents 24c0c42 + 8cfbcba commit e0c391f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

runtests.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ function clang_format {
167167
}
168168

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

173173
function clean_py {

0 commit comments

Comments
 (0)