Encoding failure in doctest error handling on py3/windows #540
Labels
platform: windows
windows platform-specific problem
plugin: doctests
related to the doctests builtin plugin
type: bug
problem that needs to be addressed
Originally reported by: Ionel Cristian Mărieș (BitBucket: ionelmc, GitHub: ionelmc)
I get this sort of failure:
Testcase: https://gist.github.com/ionelmc/4a56e2467aeb6d228ebe
This fails because the unicode.rst file is utf8 while the windows' default encoding is some code page.
Also tested with tip from py/pytest - still reproduces. I've glossed over the code but the fix involves adding "encoding awareness" all over in the
py
module. What to do ?The text was updated successfully, but these errors were encountered: