gh-133677: Fix tests when running in non-UTF-8 locale - #133865
Conversation
48e3a7c to
842076d
Compare
There was a problem hiding this comment.
These are all unrelated.
There was a problem hiding this comment.
This is very related. Error happens when non-ASCII "–" is written to stdout with a non-UTF-8 encoding.
|
This is also against the wrong branch, main will be unaffected once #133712 |
|
Thanks @serhiy-storchaka for the PR 🌮🎉.. I'm working now to backport this PR to: 3.14. |
|
Thanks @serhiy-storchaka for the PR 🌮🎉.. I'm working now to backport this PR to: 3.13. |
|
Sorry, @serhiy-storchaka, I could not cleanly backport this to |
|
GH-133938 is a backport of this pull request to the 3.14 branch. |
…ythonGH-133865) (cherry picked from commit 14305a8) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
|
GH-133939 is a backport of this pull request to the 3.13 branch. |

latin-1#133677