-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
UnicodeDecodeError
in ini parser when file is UTF-8 but locale encoding is used
#4441
Comments
I assume your configuration file is UTF-8 encoded and you're on windows (where the default encoding is unlikely to be UTF-8) -- can you also try the same thing using python3.7? |
My environtmental is as follows.
|
If |
Looks like a bug in py/pylib. |
I think this has been fixed by the various refactorings of encodings and config handling over the last four years, closing. |
It's still an issue with the ini parser |
UnicodeDecodeError
in ini parser when file is UTF-8 but locale encoding is used
UnicodeDecodeError is raised if unicode character exists in
pytest.ini
.The text was updated successfully, but these errors were encountered: