.F..........FF....................................................F........FF.F.FFFF............FF.FFF..FFFFFFFFFF............sFFFF                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              [100%]
=============================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================== FAILURES ===============================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================
___________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ test_locale_repr ___________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________

    def test_locale_repr():
        assert repr(Locale('en', 'US')) == "Locale('en', territory='US')"
        assert (repr(Locale('de', 'DE')) == "Locale('de', territory='DE')")
>       assert (repr(Locale('zh', 'CN', script='Hans')) == "Locale('zh', territory='CN', script='Hans')")

tests/test_core.py:28:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = Locale('zh', territory='CN', script='Hans'), language = 'zh', territory = 'CN', script = 'Hans', variant = None, modifier = None

    def __init__(self, language: str, territory: str | None=None, script: str | None=None, variant: str | None=None, modifier: str | None=None) -> None:
        self.language = language
        self.territory = territory
        self.script = script
        self.variant = variant
        self.modifier = modifier
        self.__data: localedata.LocaleDataDict | None = None
        identifier = str(self).partition('@')[0]
        if not localedata.exists(identifier):
>           raise UnknownLocaleError(str(self))
E           babel.core.UnknownLocaleError: unknown locale 'zh_CN_Hans'

babel/core.py:37: UnknownLocaleError
______________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ TestLocaleClass.test_parse_likely_subtags _______________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________

self = <tests.test_core.TestLocaleClass object at 0x7586bb7ad930>

    def test_parse_likely_subtags(self):
        locale = Locale.parse('zh-TW', sep='-')
        assert locale.language == 'zh'
        assert locale.territory == 'TW'
>       assert locale.script == 'Hant'
E       AssertionError: assert None == 'Hant'
E        +  where None = Locale('zh', territory='TW').script

tests/test_core.py:109: AssertionError
________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ TestLocaleClass.test_get_display_name _________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________

self = <tests.test_core.TestLocaleClass object at 0x7586bb7adc00>

    def test_get_display_name(self):
>       zh_CN = Locale('zh', 'CN', script='Hans')

tests/test_core.py:131:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = Locale('zh', territory='CN', script='Hans'), language = 'zh', territory = 'CN', script = 'Hans', variant = None, modifier = None

    def __init__(self, language: str, territory: str | None=None, script: str | None=None, variant: str | None=None, modifier: str | None=None) -> None:
        self.language = language
        self.territory = territory
        self.script = script
        self.variant = variant
        self.modifier = modifier
        self.__data: localedata.LocaleDataDict | None = None
        identifier = str(self).partition('@')[0]
        if not localedata.exists(identifier):
>           raise UnknownLocaleError(str(self))
E           babel.core.UnknownLocaleError: unknown locale 'zh_CN_Hans'

babel/core.py:37: UnknownLocaleError
_________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ TestLocaleClass.test_all_locales_have_default_numbering_system[root] _________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________

self = <tests.test_core.TestLocaleClass object at 0x7586bb5d51b0>, locale = 'root'

    @pytest.mark.all_locales
    def test_all_locales_have_default_numbering_system(self, locale):
>       locale = Locale.parse(locale)

tests/test_core.py:182:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
babel/core.py:51: in parse
    parts = parse_locale(identifier, sep=sep)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

identifier = 'root', sep = '_'

    def parse_locale(identifier: str, sep: str='_') -> tuple[str, str | None, str | None, str | None] | tuple[str, str | None, str | None, str | None, str | None]:
        original = identifier
        if not isinstance(identifier, str) or not identifier:
            raise ValueError(f'{identifier!r} is not a valid locale identifier')
        modifier = None
        if '@' in identifier:
            identifier, modifier = identifier.split('@', 1)
            modifier = modifier or None
        if '.' in identifier:
            identifier = identifier.split('.', 1)[0]
        parts = identifier.split(sep)
        if not parts or not (2 <= len(parts[0]) <= 3) or not parts[0].isalpha():
>           raise ValueError(f'{original!r} is not a valid locale identifier')
E           ValueError: 'root' is not a valid locale identifier

babel/core.py:250: ValueError
______________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ TestLocaleClass.test_all_locales_have_default_numbering_system[zh_Hans_CN] ______________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________

cls = <class 'babel.core.Locale'>, identifier = 'zh_Hans_CN', sep = '_', resolve_likely_subtags = True

    @classmethod
    def parse(cls, identifier: str | Locale | None, sep: str='_', resolve_likely_subtags: bool=True) -> Locale:
        if isinstance(identifier, Locale):
<response clipped><NOTE>Due to the max output limit, only part of the full response has been shown to you.</NOTE>_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = Locale('ca', territory='ES', variant='VALENCIA'), language = 'ca', territory = 'ES', script = None, variant = 'VALENCIA', modifier = None

    def __init__(self, language: str, territory: str | None=None, script: str | None=None, variant: str | None=None, modifier: str | None=None) -> None:
        self.language = language
        self.territory = territory
        self.script = script
        self.variant = variant
        self.modifier = modifier
        self.__data: localedata.LocaleDataDict | None = None
        identifier = str(self).partition('@')[0]
        if not localedata.exists(identifier):
>           raise UnknownLocaleError(str(self))
E           babel.core.UnknownLocaleError: unknown locale 'ca_ES_VALENCIA'

babel/core.py:37: UnknownLocaleError

During handling of the above exception, another exception occurred:

    def test_issue_814():
>       loc = Locale.parse('ca_ES_valencia')

tests/test_core.py:348:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

cls = <class 'babel.core.Locale'>, identifier = 'ca_ES_valencia', sep = '_', resolve_likely_subtags = True

    @classmethod
    def parse(cls, identifier: str | Locale | None, sep: str='_', resolve_likely_subtags: bool=True) -> Locale:
        if isinstance(identifier, Locale):
            return identifier
        if not isinstance(identifier, str):
            raise TypeError(f'Unexpected value for identifier: {identifier!r}')
        parts = parse_locale(identifier, sep=sep)
        try:
            return cls(*parts)
        except UnknownLocaleError:
            if not resolve_likely_subtags:
                raise
            language, territory, script, variant, *rest = parts
            modifier = rest[0] if rest else None
            raw = get_locale_identifier((language, territory, script, variant))
            for candidate in (raw, language, f'und_{territory}' if territory else None):
                target = get_global('likely_subtags').get(candidate) if candidate else None
                if target:
                    lp = parse_locale(target)
                    if modifier:
                        lp = (*lp[:4], modifier)
                    return cls(*lp)
>           raise UnknownLocaleError(raw)
E           babel.core.UnknownLocaleError: unknown locale 'ca_ES_VALENCIA'

babel/core.py:67: UnknownLocaleError
_______________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ test_official_languages ________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________

    def test_official_languages():
>       assert get_official_languages("FI") == ("fi", "sv")
E       AssertionError: assert None == ('fi', 'sv')
E        +  where None = get_official_languages('FI')

tests/test_languages.py:5: AssertionError
________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ test_get_language_info ________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________

    def test_get_language_info():
        assert (
>           set(get_territory_language_info("HU")) ==
            {"hu", "fr", "en", "de", "ro", "hr", "sk", "sl"}
        )
E       TypeError: 'NoneType' object is not iterable

tests/test_languages.py:14: TypeError
___________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ test_format_list ___________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________

    def test_format_list():
        for list, locale, expected in [
            ([], 'en', ''),
            (['string'], 'en', 'string'),
            (['string1', 'string2'], 'en', 'string1 and string2'),
            (['string1', 'string2', 'string3'], 'en', 'string1, string2, and string3'),
            (['string1', 'string2', 'string3'], 'zh', 'string1、string2和string3'),
            (['string1', 'string2', 'string3', 'string4'], 'ne', 'string1,string2, string3 र string4'),
        ]:
>           assert lists.format_list(list, locale=locale) == expected
E           AssertionError: assert None == ''
E            +  where None = <function format_list at 0x7586bb610c10>([], locale='en')
E            +    where <function format_list at 0x7586bb610c10> = lists.format_list

tests/test_lists.py:15: AssertionError
________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ test_format_list_error ________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________

    def test_format_list_error():
>       with pytest.raises(ValueError):
E       Failed: DID NOT RAISE <class 'ValueError'>

tests/test_lists.py:19: Failed
======================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================= short test summary info ========================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================
FAILED tests/test_core.py::test_locale_repr - babel.core.UnknownLocaleError: unknown locale 'zh_CN_Hans'
FAILED tests/test_core.py::TestLocaleClass::test_parse_likely_subtags - AssertionError: assert None == 'Hant'
FAILED tests/test_core.py::TestLocaleClass::test_get_display_name - babel.core.UnknownLocaleError: unknown locale 'zh_CN_Hans'
FAILED tests/test_core.py::TestLocaleClass::test_all_locales_have_default_numbering_system[root] - ValueError: 'root' is not a valid locale identifier
FAILED tests/test_core.py::TestLocaleClass::test_all_locales_have_default_numbering_system[zh_Hans_CN] - babel.core.UnknownLocaleError: unknown locale 'zh_CN_Hans'
FAILED tests/test_core.py::TestLocaleClass::test_all_locales_have_default_numbering_system[zh_Hans_SG] - babel.core.UnknownLocaleError: unknown locale 'zh_SG_Hans'
FAILED tests/test_core.py::TestLocaleClass::test_all_locales_have_default_numbering_system[zh_Hant_TW] - babel.core.UnknownLocaleError: unknown locale 'zh_TW_Hant'
FAILED tests/test_core.py::TestLocaleClass::test_decimal_formats - AttributeError: 'NoneType' object has no attribute 'pattern'
FAILED tests/test_core.py::TestLocaleClass::test_currency_formats_property - AttributeError: 'NoneType' object has no attribute 'pattern'
FAILED tests/test_core.py::TestLocaleClass::test_percent_formats_property - AttributeError: 'NoneType' object has no attribute 'pattern'
FAILED tests/test_core.py::TestLocaleClass::test_scientific_formats_property - AttributeError: 'NoneType' object has no attribute 'pattern'
FAILED tests/test_core.py::TestLocaleClass::test_date_formats_property - AttributeError: 'NoneType' object has no attribute 'pattern'
FAILED tests/test_core.py::TestLocaleClass::test_time_formats_property - AttributeError: 'NoneType' object has no attribute 'pattern'
FAILED tests/test_core.py::TestLocaleClass::test_datetime_skeleton_property - AttributeError: 'NoneType' object has no attribute 'pattern'
FAILED tests/test_core.py::TestLocaleClass::test_plural_form_property - AssertionError: assert 'other' == 'one'
FAILED tests/test_core.py::test_default_locale - AssertionError: assert 'fr_FR' == 'en_US_POSIX'
FAILED tests/test_core.py::test_compatible_classes_in_global_and_localedata[babel/global.dat] - FileNotFoundError: [Errno 2] No such file or directory: 'babel/global.dat'
FAILED tests/test_core.py::test_compatible_classes_in_global_and_localedata[babel/locale-data/root.dat] - FileNotFoundError: [Errno 2] No such file or directory: 'babel/locale-data/root.dat'
FAILED tests/test_core.py::test_compatible_classes_in_global_and_localedata[babel/locale-data/en.dat] - FileNotFoundError: [Errno 2] No such file or directory: 'babel/locale-data/en.dat'
FAILED tests/test_core.py::test_compatible_classes_in_global_and_localedata[babel/locale-data/en_US.dat] - FileNotFoundError: [Errno 2] No such file or directory: 'babel/locale-data/en_US.dat'
FAILED tests/test_core.py::test_compatible_classes_in_global_and_localedata[babel/locale-data/en_US_POSIX.dat] - FileNotFoundError: [Errno 2] No such file or directory: 'babel/locale-data/en_US_POSIX.dat'
FAILED tests/test_core.py::test_compatible_classes_in_global_and_localedata[babel/locale-data/zh_Hans_CN.dat] - FileNotFoundError: [Errno 2] No such file or directory: 'babel/locale-data/zh_Hans_CN.dat'
FAILED tests/test_core.py::test_compatible_classes_in_global_and_localedata[babel/locale-data/zh_Hant_TW.dat] - FileNotFoundError: [Errno 2] No such file or directory: 'babel/locale-data/zh_Hant_TW.dat'
FAILED tests/test_core.py::test_compatible_classes_in_global_and_localedata[babel/locale-data/es_419.dat] - FileNotFoundError: [Errno 2] No such file or directory: 'babel/locale-data/es_419.dat'
FAILED tests/test_core.py::test_issue_601_no_language_name_but_has_variant - AssertionError: assert 'Finnish (FI)' is None
FAILED tests/test_core.py::test_issue_814 - babel.core.UnknownLocaleError: unknown locale 'ca_ES_VALENCIA'
FAILED tests/test_languages.py::test_official_languages - AssertionError: assert None == ('fi', 'sv')
FAILED tests/test_languages.py::test_get_language_info - TypeError: 'NoneType' object is not iterable
FAILED tests/test_lists.py::test_format_list - AssertionError: assert None == ''
FAILED tests/test_lists.py::test_format_list_error - Failed: DID NOT RAISE <class 'ValueError'>
30 failed, 100 passed, 1 skipped in 0.37s
[The command completed with exit code 1.]
[Current working directory: /workspace/babel]
[Python interpreter: /usr/bin/python]
[Command finished with exit code 1]