CodeQL library for Python
codeql/python-all 0.6.4 (changelog, source)
Search

Predicate remove_library_prefix

Removes the part of the resources/lib Python library path that may vary from machine to machine.

Import path

import semmle.python.TestUtils
string remove_library_prefix(Location loc)