INTERNALERROR (UnicodeDecodeError): ReprFuncArgs don't handle mixed unicode and utf-8 strings on the same call #2731
Labels
topic: reporting
related to terminal output and user-facing messages and errors
type: bug
problem that needs to be addressed
Versions:
The class
_pytest._code.code.ReprFuncArgs
crashes withUnicodeDecodeError
when trying to write args with mixedunicode
andutf-8
strings.There's a test that reproduces the bug:
Resulting in:
Here the actual traceback of the error when the used by running our tests:
Here's a quick fix (diff):
Please let me know if I should open a PR.
The text was updated successfully, but these errors were encountered: