MCPcopy
hub / github.com/pytest-dev/pytest-xdist / __init__

Method __init__

src/xdist/scheduler/loadgroup.py:17–22  ·  view source on GitHub ↗
(self, config: pytest.Config, log: Producer | None = None)

Source from the content-addressed store, hash-verified

15 """
16
17 def __init__(self, config: pytest.Config, log: Producer | None = None) -> None:
18 super().__init__(config, log)
19 if log is None:
20 self.log = Producer("loadgroupsched")
21 else:
22 self.log = log.loadgroupsched
23
24 def _split_scope(self, nodeid: str) -> str:
25 """Determine the scope (grouping) of a nodeid.

Callers

nothing calls this directly

Calls 1

ProducerClass · 0.90

Tested by

no test coverage detected