def test_administrative_unit_all_locales(self):
    for faker in self._fakers_for_locales():
        if (faker.current_country_code() not in ['IL', 'GE', 'TW', 'UA', 'NZ']):
            try:
                assert isinstance(faker.administrative_unit(), str)
            except Exception as e:
                raise e.__class__(faker.current_country_code(), *e.args)
def test_administrative_unit_all_locales(self):
    for faker in self._fakers_for_locales():
        if (faker.current_country_code() not in ['IL', 'GE', 'TW', 'UA', 'NZ']):
            try:
                assert isinstance(faker.administrative_unit(), str)
            except Exception as e:
                raise e.__class__(faker.current_country_code(), *e.args)