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

Method __call__

testing/code/test_source.py:393–394  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

391
392 class Hello:
393 def __call__(self) -> None:
394 pass
395
396 pytest.raises(TypeError, lambda: Code.from_function(Hello))
397

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected