We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 24c0c42 + 8cfbcba commit e0c391fCopy full SHA for e0c391f
runtests.sh
@@ -167,7 +167,7 @@ function clang_format {
167
}
168
169
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)
+ return $("${PY_EXE}" -c "import sys, importlib.util; sys.exit(0 if importlib.util.find_spec(sys.argv[1]) else 1)" $1)
171
172
173
function clean_py {
0 commit comments