-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
'ascii' codec can't encode characters - repr_locals #4618
Comments
on python2 any repr must be bytes, as per https://docs.python.org/2/reference/datamodel.html#object.__repr__ |
You're right, can/should we maybe just give a better error message? 🤔 |
its not clear to me where and how to correctly handle this |
I think this is a duplicate though I'm having trouble finding it -- also thought we fixed this too 😆 is it this one? #1693 |
hello, first off thank you for the issue! python 2.x support has ended for pytest core. we've decided in #7296 to close the python-2-specific issues to free up some space in our backlog. however, in accordance to our python 2.7 and 3.4 support community patches will still be accepted to the |
https://toxdev.visualstudio.com/tox/_build/results?buildId=1087
Seems that the
repr_locals
does not handles nicely when cannot convert locals toascii
. Should we here ignore errors and maybe prin a warning instead?The text was updated successfully, but these errors were encountered: