-
-
Notifications
You must be signed in to change notification settings - Fork 31.9k
test_calendar and test_pdb always fail in non-English locale #130665
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
Comments
Thanks for the report. Specifically caused by PR #129625. Before, we'd get the month/day names in English, despite the env var: ❯ LANG=uk_UA.UTF-8 python3.13 -m calendar 2025 2
February 2025
Mo Tu We Th Fr Sa Su
1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 It's because
Now, we get this: ❯ LANG=uk_UA.UTF-8 ./python.exe -m calendar 2025 2
лютого 2025
пн вт ср чт пт сб нд
1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 This is because However, Before, we only used But now |
Please see PR #130676. |
… not `LANG` env var (python#130676)
Example of the
test_calendar
output for locale uk_UA.UTF-8:test_pdb
also fails, because it uses thecalendar
module:This is caused by #128317. Reverting that change fixes tests.
cc @hugovk
Linked PRs
--locale
and notLANG
env var #130676The text was updated successfully, but these errors were encountered: