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

Class CollectionArgument

src/_pytest/main.py:1077–1084  ·  view source on GitHub ↗

A resolved collection argument.

Source from the content-addressed store, hash-verified

1075
1076@dataclasses.dataclass(frozen=True)
1077class CollectionArgument:
1078 """A resolved collection argument."""
1079
1080 path: Path
1081 parts: Sequence[str]
1082 parametrization: str | None
1083 module_name: str | None
1084 original_index: int
1085
1086
1087def resolve_collection_argument(

Callers 6

test_fileMethod · 0.90
test_dirMethod · 0.90
test_pypathMethod · 0.90

Calls

no outgoing calls

Tested by 5

test_fileMethod · 0.72
test_dirMethod · 0.72
test_pypathMethod · 0.72