Skip to content

gettext: Missing tests for fallback translations #130320

@tomasr8

Description

@tomasr8

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

Metadata

Metadata

Assignees

Labels

testsTests in the Lib/test dir

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions