MCPcopy Create free account
hub / github.com/pytest-dev/pytest / ImportMode

Class ImportMode

src/_pytest/pathlib.py:437–442  ·  view source on GitHub ↗

Possible values for `mode` parameter of `import_path`.

Source from the content-addressed store, hash-verified

435
436
437class ImportMode(Enum):
438 """Possible values for `mode` parameter of `import_path`."""
439
440 prepend = "prepend"
441 append = "append"
442 importlib = "importlib"
443
444
445class ImportPathMismatchError(ImportError):

Callers 1

import_pathFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected