pytest-dev__pytest-5262
_pytest.capture.EncodedFile mode should not include `b` (binary)
Verdict: the fix is stated in the issue (Tier A).
@property def mode(self): return self.buffer.mode.replace('b', '')
The text states the fix: “@property def mode(self): return self.buffer.mode.replace('b', '')”
All 500 SWE-bench Verified tasks · more pytest-dev/pytest tasks · How the check works