MCPcopy
hub / github.com/pytest-dev/pytest / int

Class int

testing/io/test_saferepr.py:134–136  ·  testing/io/test_saferepr.py::int

Source from the content-addressed store, hash-verified

132 class="cm"># reprlib dispatches by type name, so use class="st">"int".
133
134 class int:
135 def __repr__(self):
136 raise ValueError(class="st">"Buggy repr!")
137
138 assert class="st">"Buggy" in saferepr(int())
139

Callers 15

formatTimeMethod · 0.85
_get_auto_indentMethod · 0.85
parse_numFunction · 0.85
parse_summary_nounsMethod · 0.85
_get_max_warningsMethod · 0.85
format_session_durationFunction · 0.85
from_configMethod · 0.85
_write_pyc_fpFunction · 0.85

Calls

no outgoing calls