Back to index

python3.2  3.2.2
Classes | Functions | Variables
test.test__locale Namespace Reference

Classes

class  _LocaleTests

Functions

def accept
def test_main

Variables

 nl_langinfo = None
list candidate_locales
dictionary known_numerics = {'fr_FR' : (',', ''), 'en_US':('.', ',')}

Function Documentation

def test.test__locale.accept (   loc)

Definition at line 30 of file test__locale.py.

00030 
00031     def accept(loc):
00032         a = loc.split(".")
        return not(len(a) == 2 and len(a[-1]) >= 9)

Definition at line 138 of file test__locale.py.

00138 
00139 def test_main():
00140     run_unittest(_LocaleTests)

Here is the call graph for this function:


Variable Documentation

Initial value:
00001 ['es_UY', 'fr_FR', 'fi_FI', 'es_CO', 'pt_PT', 'it_IT',
00002     'et_EE', 'es_PY', 'no_NO', 'nl_NL', 'lv_LV', 'el_GR', 'be_BY', 'fr_BE',
00003     'ro_RO', 'ru_UA', 'ru_RU', 'es_VE', 'ca_ES', 'se_NO', 'es_EC', 'id_ID',
00004     'ka_GE', 'es_CL', 'hu_HU', 'wa_BE', 'lt_LT', 'sl_SI', 'hr_HR', 'es_AR',
00005     'es_ES', 'oc_FR', 'gl_ES', 'bg_BG', 'is_IS', 'mk_MK', 'de_AT', 'pt_BR',
00006     'da_DK', 'nn_NO', 'cs_CZ', 'de_LU', 'es_BO', 'sq_AL', 'sk_SK', 'fr_CH',
00007     'de_DE', 'sr_YU', 'br_FR', 'nl_BE', 'sv_FI', 'pl_PL', 'fr_CA', 'fo_FO',
00008     'bs_BA', 'fr_LU', 'kl_GL', 'fa_IR', 'de_BE', 'sv_SE', 'it_CH', 'uk_UA',
00009     'eu_ES', 'vi_VN', 'af_ZA', 'nb_NO', 'en_DK', 'tg_TJ', 'en_US',
00010     'es_ES.ISO8859-1', 'fr_FR.ISO8859-15', 'ru_RU.KOI8-R', 'ko_KR.eucKR']

Definition at line 17 of file test__locale.py.

dictionary test.test__locale.known_numerics = {'fr_FR' : (',', ''), 'en_US':('.', ',')}

Definition at line 38 of file test__locale.py.

Definition at line 6 of file test__locale.py.