-
-
Notifications
You must be signed in to change notification settings - Fork 33.6k
gh-129483: Make TestLocalTimeDisambiguation's time format locale independent
#142193
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
Conversation
This comment was marked as resolved.
This comment was marked as resolved.
StanFromIreland
left a comment
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.
IMO making the tests locale independent would be a better solution than this (i.e. just replace %c with our desired order).
This comment was marked as resolved.
This comment was marked as resolved.
Addressed |
TestLocalTimeDisambiguation's time format locale independent
StanFromIreland
left a comment
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.
LGTM, thanks!
vstinner
left a comment
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.
LGTM
|
This is failing in 3.13, right? So we should backport it? Anyone know how far back it is causing issues? |
…ale independent (pythonGH-142193) * Change to update %c to the exact time format. --------- (cherry picked from commit 8392095) Co-authored-by: Kir Chou <148194051+gkirchou@users.noreply.github.com> Co-authored-by: Kir Chou <note351@hotmail.com>
|
GH-142258 is a backport of this pull request to the 3.14 branch. |
…ale independent (pythonGH-142193) * Change to update %c to the exact time format. --------- (cherry picked from commit 8392095) Co-authored-by: Kir Chou <148194051+gkirchou@users.noreply.github.com> Co-authored-by: Kir Chou <note351@hotmail.com>
|
GH-142259 is a backport of this pull request to the 3.13 branch. |
Right, the issue was reported on Python 3.13.1. We should backport the change to 3.13 and 3.14 branches. Other branches no longer accept bugfixes. |
…cale independent (GH-142193) (#142259) gh-129483: Make `TestLocalTimeDisambiguation`'s time format locale independent (GH-142193) * Change to update %c to the exact time format. --------- (cherry picked from commit 8392095) Co-authored-by: Kir Chou <148194051+gkirchou@users.noreply.github.com> Co-authored-by: Kir Chou <note351@hotmail.com>
…cale independent (GH-142193) (#142258) gh-129483: Make `TestLocalTimeDisambiguation`'s time format locale independent (GH-142193) * Change to update %c to the exact time format. --------- (cherry picked from commit 8392095) Co-authored-by: Kir Chou <148194051+gkirchou@users.noreply.github.com> Co-authored-by: Kir Chou <note351@hotmail.com>
|
…ale independent (python#142193) * Change to update %c to the exact time format. --------- Co-authored-by: Kir Chou <note351@hotmail.com>
Test with: