Module Import alias ImportFrom alias Assign NameStore Str Assign NameStore TupleLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Num Num For NameStore NameLoad body Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad Assign NameStore ListComp SubscriptLoad NameLoad Index NameLoad comprehension NameStore Call NameLoad Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad ImportFrom alias Assign NameStore Call NameLoad Num BinOpAdd Num NameLoad Expr ListComp Call NameLoad NameLoad NameLoad SubscriptLoad NameLoad Index NameLoad comprehension NameStore Call NameLoad NameLoad Assign NameStore ListComp SubscriptLoad NameLoad Index NameLoad comprehension NameStore Call NameLoad Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call NameLoad Assign NameStore ListComp SubscriptLoad NameLoad Index NameLoad comprehension NameStore Call NameLoad Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad BinOpMult ListLoad Num Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Call NameLoad BinOpMult NameLoad Num Assign NameStore Call NameLoad NameLoad Num Assign NameStore Call NameLoad Str Str Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num Str Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num Str Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num Str Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num Str Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num Str Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num Str Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num ImportFrom alias alias Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Num Num Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Num Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore Call NameLoad Assign NameStore ListComp SubscriptLoad NameLoad Index NameLoad comprehension NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad BinOpMult ListLoad Num NameLoad Assign NameStore Call NameLoad BinOpMult ListLoad Call NameLoad NameLoad Assign NameStore ListComp SubscriptLoad NameLoad Index NameLoad comprehension NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad BinOpMult ListLoad Num NameLoad Assign NameStore Call NameLoad Num Num Num Num Num Assign NameStore ListComp NameLoad comprehension NameStore NameLoad Expr Call AttributeLoad NameLoad attr NameLoad ListLoad Num Num Num Num Num Assign NameStore Call NameLoad Call NameLoad NameLoad TupleLoad Num Num Num Num Num Assign NameStore ListComp NameLoad comprehension NameStore NameLoad Expr Call AttributeLoad NameLoad attr NameLoad ListLoad Num Num Num Num Num decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr UnaryOpNot CompareIs Call NameLoad NameLoad Num Call NameLoad NameLoad Num Expr Call AttributeLoad NameLoad attr CompareIs Call NameLoad NameLoad Num Call NameLoad NameLoad Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Str Assign NameStore Call AttributeLoad BinOpMult NameLoad Num attr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Slice Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str decorator_list TryExcept body Expr NameLoad handlers ExceptHandler type NameLoad body Pass orelse FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Str Assign NameStore Call AttributeLoad BinOpMult NameLoad Num attr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Slice Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str decorator_list decorator_list If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr
N/A N/A unittest ctypes * N/A formats bBhHiIlLqQfd N/A formats N/A c_byte c_ubyte c_short c_ushort c_int c_uint c_long c_ulonglong c_float c_double ArrayTestCase N/A N/A unittest TestCase N/A test_simple N/A N/A self N/A N/A N/A init N/A range 15 25 N/A fmt formats N/A N/A alen N/A len init N/A int_array N/A ARRAY fmt alen N/A ia N/A int_array init N/A N/A N/A self failUnlessEqual N/A len ia alen N/A values N/A N/A ia N/A i N/A i N/A range N/A len init N/A N/A N/A self failUnlessEqual values init operator setitem N/A new_values N/A range 42 N/A 42 alen N/A N/A N/A setitem ia n N/A new_values N/A n N/A n N/A range alen N/A values N/A N/A ia N/A i N/A i N/A range N/A len init N/A N/A N/A self failUnlessEqual values new_values N/A ia N/A int_array N/A values N/A N/A ia N/A i N/A i N/A range N/A len init N/A N/A N/A self failUnlessEqual values N/A N/A 0 N/A len init N/A N/A N/A self assertRaises IndexError int_array N/A range N/A alen 2 N/A CharArray N/A ARRAY c_char 3 N/A ca N/A CharArray a b c N/A N/A N/A self assertRaises TypeError CharArray abc N/A N/A N/A self failUnlessEqual N/A ca N/A 0 a N/A N/A N/A self failUnlessEqual N/A ca N/A 1 b N/A N/A N/A self failUnlessEqual N/A ca N/A 2 c N/A N/A N/A self failUnlessEqual N/A ca N/A -3 a N/A N/A N/A self failUnlessEqual N/A ca N/A -2 b N/A N/A N/A self failUnlessEqual N/A ca N/A -1 c N/A N/A N/A self failUnlessEqual N/A len ca 3 operator getslice delitem N/A N/A N/A self assertRaises TypeError getslice ca 0 1 -1 N/A N/A N/A self assertRaises TypeError delitem ca 0 N/A test_numeric_arrays N/A N/A self N/A N/A N/A alen 5 N/A numarray N/A ARRAY c_int alen N/A na N/A numarray N/A values N/A N/A na N/A i N/A i N/A range alen N/A N/A N/A self failUnlessEqual values N/A N/A 0 alen N/A na N/A numarray N/A N/A N/A c_int alen N/A values N/A N/A na N/A i N/A i N/A range alen N/A N/A N/A self failUnlessEqual values N/A N/A 0 alen N/A na N/A numarray 1 2 3 4 5 N/A values N/A i N/A i na N/A N/A N/A self failUnlessEqual values N/A 1 2 3 4 5 N/A na N/A numarray N/A map c_int N/A 1 2 3 4 5 N/A values N/A i N/A i na N/A N/A N/A self failUnlessEqual values N/A 1 2 3 4 5 N/A test_classcache N/A N/A self N/A N/A N/A N/A N/A self failUnless N/A N/A N/A ARRAY c_int 3 N/A ARRAY c_int 4 N/A N/A N/A self failUnless N/A N/A ARRAY c_int 3 N/A ARRAY c_int 3 N/A test_from_address N/A N/A self N/A N/A N/A p N/A create_string_buffer foo N/A sz N/A N/A N/A c_char 3 from_address N/A addressof p N/A N/A N/A self failUnlessEqual N/A sz N/A foo N/A N/A N/A self failUnlessEqual N/A sz value foo N/A N/A N/A N/A create_unicode_buffer N/A N/A N/A NameError N/A N/A N/A test_from_addressW N/A N/A self N/A N/A N/A p N/A create_unicode_buffer foo N/A sz N/A N/A N/A c_wchar 3 from_address N/A addressof p N/A N/A N/A self failUnlessEqual N/A sz N/A foo N/A N/A N/A self failUnlessEqual N/A sz value foo N/A N/A N/A N/A __name__ __main__ N/A N/A N/A N/A unittest main