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

Method __init__

testing/test_collection.py:1378–1380  ·  view source on GitHub ↗
(self, *k, x, **kw)

Source from the content-addressed store, hash-verified

1376
1377 class MyCollector(pytest.File):
1378 def __init__(self, *k, x, **kw):
1379 super().__init__(*k, **kw)
1380 self.x = x
1381
1382 collector = MyCollector.from_parent(
1383 parent=request.session, path=pytester.path / "foo", x=10

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected