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

Method __init__

testing/test_nodes.py:75–77  ·  view source on GitHub ↗

Legacy ctor with legacy call # don't wana see

(self, fspath, parent)

Source from the content-addressed store, hash-verified

73
74 class SoWrong(nodes.Item, nodes.File):
75 def __init__(self, fspath, parent):
76 """Legacy ctor with legacy call # don't wana see"""
77 super().__init__(fspath, parent)
78
79 with pytest.warns(
80 PytestWarning, match=".*SoWrong.* not using a cooperative constructor.*"

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected