MCPcopy
hub / github.com/pytest-dev/pytest / ImportMode

Class ImportMode

src/_pytest/pathlib.py:485–490  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

483
484
485class ImportMode(Enum):
486 """Possible values for `mode` parameter of `import_path`."""
487
488 prepend = "prepend"
489 append = "append"
490 importlib = "importlib"
491
492
493class ImportPathMismatchError(ImportError):

Callers 1

import_pathFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…