MCPcopy Index your code
hub / github.com/ipython/ipython / ReallyBadRepr

Class ReallyBadRepr

tests/test_pretty.py:199–207  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

197
198
199class ReallyBadRepr(object):
200 __module__ = 1
201
202 @property
203 def __class__(self):
204 raise ValueError("I am horrible")
205
206 def __repr__(self):
207 raise BadException()
208
209
210def test_really_bad_repr():

Callers 1

test_really_bad_reprFunction · 0.85

Calls

no outgoing calls

Tested by 1

test_really_bad_reprFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…