Leaklens

pytest-dev__pytest-7205

BytesWarning when using --setup-show with bytes parameter

Verdict: the issue points to the file or function that was changed (Tier B).

Makes sense to me to use `saferepr` for this, as it displays the raw `param` of the fixture. Probably with a shorter `maxsize` than the default as well, 240 is too long.

The two checks disagreed (stated fix vs. points to it); the lower reading shown: “Makes sense to me to use `saferepr` for this, as it displays the raw `param` of the fixture. Probably with a shorter `maxsize` than the default as we…”

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