Skip to content

gh-64243: Implement locale.getlocale fall back in gettext.find #131477

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

Open
wants to merge 12 commits into
base: main
Choose a base branch
from
Prev Previous commit
Fix new test
  • Loading branch information
StanFromIreland committed Jun 19, 2025
commit fed61fbb8bb54c5944decc0b03b9e28cd98c32e7
3 changes: 2 additions & 1 deletion Lib/test/test_gettext.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
from test.support import cpython_only, os_helper
from test.support.import_helper import ensure_lazy_imports


# TODO:
# - Add new tests, for example for "dgettext"
# - Tests should have only one assert.
Expand Down Expand Up @@ -982,7 +983,7 @@ def test__all__(self):

@cpython_only
def test_lazy_import(self):
ensure_lazy_imports("gettext", {"re", "warnings", "locale"})
ensure_lazy_imports("gettext", {"re", "warnings"})


if __name__ == '__main__':
Expand Down
Loading
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy