def test_split_locale(self): self.assertDictEqual( locales.split_locale('ca_ES.UTF-8@valencia utf-8'), {'charmap': 'utf-8', 'modifier': 'valencia', 'codeset': 'UTF-8', 'language': 'ca', 'territory': 'ES'})
def test_split_locale(self): self.assertDictEqual( locales.split_locale("ca_ES.UTF-8@valencia utf-8"), { "charmap": "utf-8", "modifier": "valencia", "codeset": "UTF-8", "language": "ca", "territory": "ES", }, )