Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork32k
gh-133677: Fix tests when running in non-UTF-8 locale#133865
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
gh-133677: Fix tests when running in non-UTF-8 locale#133865
Uh oh!
There was an error while loading.Please reload this page.
Conversation
48e3a7c
to842076d
Compare@@ -791,21 +791,21 @@ def test_table_output_format(self): | |||
class TestAsyncioToolsEdgeCases(unittest.TestCase): | |||
def test_task_awaits_self(self): | |||
"""A task directly awaits itself– should raise a cycle.""" | |||
"""A task directly awaits itself- should raise a cycle.""" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
These are all unrelated.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
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 |
14305a8
intopython:mainUh oh!
There was an error while loading.Please reload this page.
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 the3.14 branch. |
…ythonGH-133865)(cherry picked from commit14305a8)Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
GH-133939 is a backport of this pull request to the3.13 branch. |
Relevant buildbot run for this PR:https://buildbot.python.org/#/builders/1678/builds/37 (Not linked by gh at the moment) |
Uh oh!
There was an error while loading.Please reload this page.
latin-1
#133677