Leaklens

pytest-dev__pytest-7168

INTERNALERROR when exception in __repr__

Verdict: the fix is stated in the issue (Tier A).

Changing this to `type(obj).__name__` should work.

The text states the fix: “Changing this to `type(obj).__name__` should work.”

All SWE-bench Lite tasks · more pytest-dev/pytest tasks · How the check works