Module Import alias ImportFrom alias ImportFrom alias ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign NameStore BinOpMult NameLoad Num Assign NameStore Call NameLoad Str Str Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Assign SubscriptStore NameLoad Index Num Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Str Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Str Num decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Assign NameStore Call NameLoad Num Assign AttributeStore NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Str Call NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Str Call NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Str Call NameLoad BinOpMult Str Num decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Assign NameStore Call NameLoad Num Assign AttributeStore NameLoad attr Call NameLoad Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Str Call NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Str Call NameLoad BinOpMult Str Num decorator_list FunctionDef arguments args NameParam defaults body With Call AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore BinOpMult NameLoad Num Assign NameStore Call NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore BinOpMult NameLoad Num Assign NameStore Call NameLoad decorator_list decorator_list TryExcept body Expr NameLoad handlers ExceptHandler type NameLoad body Pass orelse ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign NameStore BinOpMult NameLoad Num Assign NameStore Call NameLoad Str Str Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Assign SubscriptStore NameLoad Index Num Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad Call NameLoad Str attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad Call NameLoad Str attr Str Assign AttributeStore NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad Call NameLoad Num attr Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Num Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad Call NameLoad Num attr Index Num Str Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad Call NameLoad Num attr Num decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad Call NameLoad Str Num attr Slice Num Str Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad Call NameLoad Str Num attr Slice Num NameLoad Str Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad Call NameLoad Str Num attr Slice Num Num Str Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad Call NameLoad Str Num attr Slice Num Num Str Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad Call NameLoad Str Num attr Index Num Str Expr Call AttributeLoad NameLoad attr AttributeLoad Call NameLoad Str Num attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Str Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Str Str decorator_list decorator_list TryExcept body Expr NameLoad handlers ExceptHandler type NameLoad body Pass orelse ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Expr Call NameLoad Str Expr Call NameLoad Call NameLoad Call NameLoad Str Expr Call NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Str Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad Call NameLoad Str attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad Call NameLoad Str attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad Call NameLoad Str attr Str Assign AttributeStore NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Str Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Str Str decorator_list decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore Call NameLoad NameLoad ImportFrom alias Assign NameStore Call NameLoad For NameStore NameLoad body Expr Call NameLoad NameLoad Expr Call NameLoad NameLoad Expr Call NameLoad NameLoad Expr Call NameLoad NameLoad Expr Call NameLoad NameLoad Assign NameStore Call NameLoad Print BinOpMod Str TupleLoad NameLoad BinOpDiv BinOpDiv BinOpMult BinOpSub NameLoad NameLoad Num Num NameLoad decorator_list FunctionDef arguments args defaults body Assign NameStore Num Expr Call NameLoad NameLoad Str NameLoad NameLoad Expr Call NameLoad NameLoad Str NameLoad Str decorator_list If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr
N/A N/A unittest ctypes * test test_support StringArrayTestCase N/A N/A unittest TestCase N/A test N/A N/A self N/A N/A N/A BUF N/A c_char 4 N/A buf N/A BUF a b c N/A N/A N/A self assertEqual N/A buf value abc N/A N/A N/A self assertEqual N/A buf raw abc N/A N/A buf value ABCD N/A N/A N/A self assertEqual N/A buf value ABCD N/A N/A N/A self assertEqual N/A buf raw ABCD N/A N/A buf value x N/A N/A N/A self assertEqual N/A buf value x N/A N/A N/A self assertEqual N/A buf raw xCD N/A N/A buf N/A 1 Z N/A N/A N/A self assertEqual N/A buf value xZCD N/A N/A N/A self assertEqual N/A buf raw xZCD N/A N/A N/A self assertRaises ValueError setattr buf value aaaaaaaa N/A N/A N/A self assertRaises TypeError setattr buf value 42 N/A test_c_buffer_value N/A N/A self memoryview N/A memoryview N/A N/A buf N/A c_buffer 32 N/A N/A buf value Hello, World N/A N/A N/A self assertEqual N/A buf value Hello, World N/A N/A N/A self assertRaises TypeError setattr buf value N/A memoryview Hello, World N/A N/A N/A self assertRaises TypeError setattr buf value N/A memoryview abc N/A N/A N/A self assertRaises ValueError setattr buf raw N/A memoryview N/A x 100 N/A test_c_buffer_raw N/A N/A self memoryview N/A memoryview N/A N/A buf N/A c_buffer 32 N/A N/A buf raw N/A memoryview Hello, World N/A N/A N/A self assertEqual N/A buf value Hello, World N/A N/A N/A self assertRaises TypeError setattr buf value N/A memoryview abc N/A N/A N/A self assertRaises ValueError setattr buf raw N/A memoryview N/A x 100 N/A test_c_buffer_deprecated N/A N/A self N/A N/A N/A N/A N/A test_support check_py3k_warnings N/A N/A N/A N/A self test_c_buffer_value buffer N/A N/A N/A self test_c_buffer_raw buffer N/A test_param_1 N/A N/A self N/A N/A N/A BUF N/A c_char 4 N/A buf N/A BUF N/A test_param_2 N/A N/A self N/A N/A N/A BUF N/A c_char 4 N/A buf N/A BUF N/A N/A N/A N/A N/A c_wchar N/A N/A N/A NameError N/A N/A N/A WStringArrayTestCase N/A N/A unittest TestCase N/A test N/A N/A self N/A N/A N/A BUF N/A c_wchar 4 N/A buf N/A BUF a b c N/A N/A N/A self assertEqual N/A buf value abc N/A N/A buf value ABCD N/A N/A N/A self assertEqual N/A buf value ABCD N/A N/A buf value x N/A N/A N/A self assertEqual N/A buf value x N/A N/A buf N/A 1 Z N/A N/A N/A self assertEqual N/A buf value xZCD N/A N/A StringTestCase N/A N/A unittest TestCase N/A XX_test_basic_strings N/A N/A self N/A N/A N/A cs N/A c_string abcdef N/A N/A N/A self assertRaises TypeError len cs N/A N/A N/A self assertEqual N/A sizeof cs 7 N/A N/A N/A self assertEqual N/A cs value abcdef N/A N/A N/A self assertEqual N/A N/A c_string abcdef value abc N/A N/A N/A self assertEqual N/A cs raw abcdef N/A N/A N/A self assertEqual N/A N/A c_string abcdef raw abcdef N/A N/A cs value ab N/A N/A N/A self assertEqual N/A cs value ab N/A N/A N/A self assertEqual N/A cs raw ab N/A N/A cs raw XY N/A N/A N/A self assertEqual N/A cs value XY N/A N/A N/A self assertEqual N/A cs raw XY N/A N/A N/A self assertRaises TypeError c_string 123 N/A XX_test_sized_strings N/A N/A self N/A N/A N/A N/A N/A self assertRaises TypeError c_string None N/A N/A N/A self assertEqual N/A len N/A N/A c_string 32 raw 32 N/A N/A N/A self assertRaises ValueError c_string -1 N/A N/A N/A self assertRaises ValueError c_string 0 N/A N/A N/A self assertEqual N/A N/A N/A c_string 2 raw N/A -1 N/A N/A N/A self assertEqual N/A len N/A N/A c_string 2 raw 2 N/A XX_test_initialized_strings N/A N/A self N/A N/A N/A N/A N/A self assertEqual N/A N/A N/A c_string ab 4 raw N/A 2 ab N/A N/A N/A self assertEqual N/A N/A N/A c_string ab 4 raw N/A 2 None ab N/A N/A N/A self assertEqual N/A N/A N/A c_string ab 4 raw N/A 2 -1 ba N/A N/A N/A self assertEqual N/A N/A N/A c_string ab 4 raw N/A 2 2 a N/A N/A N/A self assertEqual N/A N/A N/A c_string ab 4 raw N/A -1 N/A N/A N/A self assertEqual N/A N/A c_string ab 2 raw a N/A XX_test_toolong N/A N/A self N/A N/A N/A cs N/A c_string abcdef N/A N/A N/A self assertRaises ValueError setattr cs value 123456789012345 N/A N/A N/A self assertRaises ValueError setattr cs value 1234567 N/A N/A N/A N/A N/A c_wchar N/A N/A N/A NameError N/A N/A N/A WStringTestCase N/A N/A unittest TestCase N/A test_wchar N/A N/A self N/A N/A N/A N/A c_wchar x N/A N/A repr N/A byref N/A c_wchar x N/A N/A c_wchar x N/A X_test_basic_wstrings N/A N/A self N/A N/A N/A cs N/A c_wstring abcdef N/A N/A N/A self assertEqual N/A sizeof cs 14 N/A N/A N/A self assertEqual N/A cs value abcdef N/A N/A N/A self assertEqual N/A N/A c_wstring abcdef value abc N/A N/A N/A self assertEqual N/A N/A c_wstring abcdef value abc N/A N/A N/A self assertEqual N/A cs raw abcdef N/A N/A N/A self assertEqual N/A N/A c_wstring abcdef raw abcdef N/A N/A cs value ab N/A N/A N/A self assertEqual N/A cs value ab N/A N/A N/A self assertEqual N/A cs raw ab N/A N/A N/A self assertRaises TypeError c_wstring 123 N/A N/A N/A self assertRaises ValueError c_wstring 0 N/A X_test_toolong N/A N/A self N/A N/A N/A cs N/A c_wstring abcdef N/A N/A N/A self assertRaises ValueError setattr cs value 123456789012345 N/A N/A N/A self assertRaises ValueError setattr cs value 1234567 N/A N/A run_test N/A N/A rep msg func arg N/A N/A N/A items N/A range rep time clock N/A start N/A clock N/A i items N/A N/A N/A func arg N/A N/A func arg N/A N/A func arg N/A N/A func arg N/A N/A func arg N/A stop N/A clock N/A N/A %20s: %.2f us N/A msg N/A N/A N/A N/A stop start 1000000.0 5 rep N/A check_perf N/A N/A N/A N/A N/A REP 200000 N/A N/A run_test REP c_string(None) c_string None N/A N/A run_test REP c_string('abc') c_string abc N/A N/A N/A __name__ __main__ N/A N/A N/A N/A unittest main