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

Class ImportMode

src/_pytest/pathlib.py:485–490  ·  src/_pytest/pathlib.py::ImportMode

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

Source from the content-addressed store, hash-verified

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

Callers 1

import_pathFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected