Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pytest-dev/pytest
/ __call__
Method
__call__
testing/code/test_source.py:386–387 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
384
385
class
WithCall:
386
def
__call__(self) -> None:
387
pass
388
389
code = Code.from_function(WithCall())
390
assert
"pass"
in str(code.source())
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected