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

Class A

testing/test_assertion.py:729–731  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

727
728 def test_list_bad_repr(self) -> None:
729 class A:
730 def __repr__(self):
731 raise ValueError(42)
732
733 expl = callequal([], [A()])
734 assert expl is not None

Callers 3

test_list_bad_reprMethod · 0.70
test_one_repr_emptyMethod · 0.70
test_nonascii_textMethod · 0.70

Calls

no outgoing calls

Tested by 3

test_list_bad_reprMethod · 0.56
test_one_repr_emptyMethod · 0.56
test_nonascii_textMethod · 0.56