Module Expr Str Import alias Import alias Import alias Import alias Import alias Import alias FunctionDef arguments args defaults body Expr Str FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr BinOpAdd ListLoad NameLoad ListComp NameLoad comprehension NameStore AttributeLoad NameLoad attr BoolOpAnd UnaryOpNot CompareEq NameLoad NameLoad UnaryOpNot CompareEq NameLoad BinOpAdd NameLoad Str decorator_list Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str body Assign NameStore Num While CompareLt NameLoad Num body AugAssignAdd NameStore Num If Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str body Break Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Assign NameStore ListLoad NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Str Expr ListComp Call NameLoad NameLoad comprehension NameStore NameLoad decorator_list Expr Call NameLoad Import alias ImportFrom alias TryExcept body Import alias FunctionDef arguments args NameParam defaults body Assign TupleStore NameStore NameStore NameLoad For NameStore Call NameLoad Num NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If UnaryOpNot Call NameLoad NameLoad body Return NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Return NameLoad decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad For NameStore Call NameLoad Num body Assign SubscriptStore NameLoad Index BinOpMod Str NameLoad BinOpMod Str NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body TryExcept body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr handlers ExceptHandler body Pass decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Num Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad BinOpMult ListLoad ListLoad AttributeLoad NameLoad attr Num NameLoad For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body If Call AttributeLoad AttributeLoad NameLoad attr attr Str body Assign AttributeStore NameLoad attr Str orelse Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign AttributeStore NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Pass decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad Call NameLoad Str Str Expr Call AttributeLoad NameLoad attr Call NameLoad Call NameLoad Str Str Expr Call AttributeLoad NameLoad attr Call NameLoad Call NameLoad Str Num Str Expr Call AttributeLoad NameLoad attr Call NameLoad Call NameLoad Str Num Str Expr Call AttributeLoad NameLoad attr Call NameLoad Call NameLoad Str Num Str Expr Call AttributeLoad NameLoad attr Call NameLoad Call NameLoad Str Num Str Expr Call AttributeLoad NameLoad attr Call NameLoad Call NameLoad Str Num Str Expr Call AttributeLoad NameLoad attr Call NameLoad Call NameLoad Str Num Str Expr Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call NameLoad Call NameLoad Str Str decorator_list decorator_list handlers ExceptHandler type NameLoad body Expr Call AttributeLoad NameLoad attr Str If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr
N/A N/A 
    Unit tests for gluon.languages
 N/A sys N/A os N/A unittest N/A tempfile N/A threading N/A logging fix_sys_path N/A N/A N/A N/A N/A 
    logic to have always the correct sys.path
     '', web2py/gluon, web2py/site-packages, web2py/ ...
     add_path_first N/A N/A path N/A N/A N/A N/A sys path N/A N/A path N/A p N/A p N/A sys path N/A N/A N/A p path N/A N/A p N/A path / N/A N/A path N/A N/A N/A os path dirname N/A N/A N/A os path abspath __file__ N/A N/A N/A N/A N/A os path isfile N/A N/A N/A os path join path web2py.py N/A N/A i 0 N/A N/A i 10 N/A N/A i 1 N/A N/A N/A N/A os path exists N/A N/A N/A os path join path web2py.py N/A N/A N/A path N/A N/A N/A os path abspath N/A N/A N/A os path join path .. N/A paths N/A path N/A N/A N/A os path abspath N/A N/A N/A os path join path site-packages N/A N/A N/A os path abspath N/A N/A N/A os path join path gluon N/A N/A N/A add_path_first path N/A path paths N/A N/A N/A fix_sys_path N/A languages storage Storage N/A N/A N/A multiprocessing read_write N/A N/A args N/A N/A N/A N/A filename iterations args N/A i N/A range 0 iterations N/A N/A content N/A N/A languages read_dict filename N/A N/A N/A len content N/A N/A False N/A N/A N/A languages write_dict filename content N/A True N/A TestLanguagesParallel N/A N/A unittest TestCase N/A setUp N/A N/A self N/A N/A N/A N/A self filename N/A N/A tempfile mktemp N/A contents N/A dict N/A i N/A range 1000 N/A N/A N/A contents N/A N/A key%d i N/A value%d i N/A N/A N/A languages write_dict N/A self filename contents N/A N/A N/A languages read_dict N/A self filename N/A tearDown N/A N/A self N/A N/A N/A N/A N/A N/A N/A os remove N/A self filename N/A N/A N/A N/A N/A test_reads_and_writes N/A N/A self N/A N/A N/A readwriters 10 N/A pool N/A N/A multiprocessing Pool processes readwriters N/A results N/A N/A pool map read_write N/A N/A N/A N/A self filename 10 readwriters N/A result results N/A N/A N/A N/A self assertTrue result N/A N/A TestTranslations N/A N/A unittest TestCase N/A setUp N/A N/A self N/A N/A N/A N/A N/A N/A os path isdir gluon N/A N/A N/A self langpath applications/welcome/languages N/A N/A N/A self langpath N/A N/A N/A os path realpath ../../applications/welcome/languages N/A N/A self http_accept_language en N/A tearDown N/A N/A self N/A N/A N/A N/A test_plain N/A N/A self N/A N/A N/A T N/A N/A languages translator N/A self langpath N/A self http_accept_language N/A N/A N/A self assertEqual N/A str N/A T Hello World Hello World N/A N/A N/A self assertEqual N/A str N/A T Hello World## comment Hello World N/A N/A N/A self assertEqual N/A str N/A T %s %%{shop} 1 1 shop N/A N/A N/A self assertEqual N/A str N/A T %s %%{shop} 2 2 shops N/A N/A N/A self assertEqual N/A str N/A T %s %%{shop[0]} 1 1 shop N/A N/A N/A self assertEqual N/A str N/A T %s %%{shop[0]} 2 2 shops N/A N/A N/A self assertEqual N/A str N/A T %s %%{quark[0]} 1 1 quark N/A N/A N/A self assertEqual N/A str N/A T %s %%{quark[0]} 2 2 quarks N/A N/A N/A self assertEqual N/A str N/A N/A T M **Hello World** <strong>Hello World</strong> N/A N/A N/A T force it N/A N/A N/A self assertEqual N/A str N/A T Hello World Salve Mondo N/A N/A N/A N/A N/A ImportError N/A N/A N/A N/A logging warning Skipped test case, no multiprocessing module. N/A N/A __name__ __main__ N/A N/A N/A N/A unittest main