Leaklens

pytest-dev__pytest-5809

Lexer "python3" in --pastebin feature causes HTTP errors

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

The call goes through fine if `lexer` is changed from `python3` to `text`. This would seem like the right thing to do in any case: the console output of a `pytest` run that is being uploaded is not Python code, but arbitrary text.

The text states the fix: “The call goes through fine if `lexer` is changed from `python3` to `text`. This would seem like the right thing to do in any case: the console output of a `pytest` run t…”

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