Skip to content
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

gettext: Missing tests for fallback translations #130320

Open
tomasr8 opened this issue Feb 19, 2025 · 0 comments
Open

gettext: Missing tests for fallback translations #130320

tomasr8 opened this issue Feb 19, 2025 · 0 comments
Assignees
Labels
tests Tests in the Lib/test dir

Comments

@tomasr8
Copy link
Member

tomasr8 commented Feb 19, 2025

For NullTranslations and GNUTranslations instances, it is possible to add a fallback that is invoked when a translation is not found via t.add_fallback(fallback). However, this is currently not tested, neither for NullTranslations, nor for GNUTranslations. We should test this behaviour.

Linked PRs

@tomasr8 tomasr8 added the tests Tests in the Lib/test dir label Feb 19, 2025
@tomasr8 tomasr8 self-assigned this Feb 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tests Tests in the Lib/test dir
Projects
Status: No status
Development

No branches or pull requests

1 participant