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

Method __repr__

testing/test_assertrewrite.py:724–725  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

722 a = 1
723
724 def __repr__(self):
725 return "\n{ \n~ \n}"
726
727 f = Foo()
728 assert 0 == f.a

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected