(self)
| 1939 | self.assertIs(li["bidi"], False) |
| 1940 | |
| 1941 | def test_unknown_language_code(self): |
| 1942 | with self.assertRaisesMessage(KeyError, "Unknown language code xx"): |
| 1943 | get_language_info("xx") |
| 1944 | with translation.override("xx"): |
| 1945 | # A language with no translation catalogs should fallback to the |
| 1946 | # untranslated string. |
| 1947 | self.assertEqual(gettext("Title"), "Title") |
| 1948 | |
| 1949 | def test_unknown_only_country_code(self): |
| 1950 | li = get_language_info("de-xx") |
nothing calls this directly
no test coverage detected