Module Expr Str Assign NameStore Str Import alias Import alias If BoolOpAnd CompareEq SubscriptLoad AttributeLoad NameLoad attr Index Num Num CompareEq SubscriptLoad AttributeLoad NameLoad attr Index Num Num body ImportFrom alias ImportFrom alias ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Expr Str ImportFrom alias Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad ImportFrom alias Assign NameStore Call AttributeLoad NameLoad attr BinOpMult Num Num Assign NameStore Call AttributeLoad NameLoad attr BinOpMult Num Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad If CompareGt NameLoad NameLoad body Assign NameStore NameLoad Assign NameStore NameLoad orelse Assign NameStore NameLoad Assign NameStore NameLoad For NameStore Call NameLoad Num Num body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr CompareLtELt NameLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr CompareLtELt NameLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod BinOpSub NameLoad NameLoad NameLoad Num Expr Call AttributeLoad NameLoad attr BinOpMod BinOpSub NameLoad NameLoad NameLoad Num For NameStore Call NameLoad Num body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num Num Num Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Str NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Num Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr NameLoad NameLoad Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr CompareLtELtE NameLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr CompareLtELtE NameLoad NameLoad NameLoad NameLoad For NameStore Call NameLoad Num body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num Num Num Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Num Str Assign NameStore Call NameLoad Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr CompareIn NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr CompareIn NameLoad NameLoad NameLoad For NameStore Call NameLoad Num body Expr Call AttributeLoad NameLoad attr CompareIn Call AttributeLoad NameLoad attr TupleLoad Num Num Num TupleLoad Num Num Num NameLoad Expr Call AttributeLoad NameLoad attr CompareIn Call AttributeLoad NameLoad attr ListLoad Num Num Num ListLoad Num Num Num NameLoad If CompareIs SubscriptLoad AttributeLoad NameLoad attr Index Num Num body Expr Call AttributeLoad NameLoad attr CompareIn Call AttributeLoad NameLoad attr Call NameLoad Call NameLoad Str Call NameLoad Call NameLoad Str NameLoad Expr Call AttributeLoad NameLoad attr Num Call AttributeLoad NameLoad attr ListLoad Num Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr ListLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Num Assign NameStore Call NameLoad Num Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Call NameLoad NameLoad For NameStore Call NameLoad Call NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr CompareIn SubscriptLoad NameLoad Index NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr CompareIn SubscriptLoad NameLoad Index NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr CompareIn SubscriptLoad NameLoad Index NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr CompareIn SubscriptLoad NameLoad Index NameLoad NameLoad NameLoad Assign NameStore ListLoad Num Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad ListLoad Num If CompareEq SubscriptLoad AttributeLoad NameLoad attr Index Num Num body Assign NameStore Call NameLoad Call NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr CompareIn Call NameLoad Str NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Call NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr TupleLoad Num Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad For NameStore Call NameLoad Num body Expr Call AttributeLoad NameLoad attr CompareIn SubscriptLoad NameLoad Index NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr CompareIn SubscriptLoad NameLoad Index NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr ListLoad Num Num Expr Call AttributeLoad NameLoad attr NameLoad ListLoad Num Assign NameStore Call AttributeLoad NameLoad attr TupleLoad Num Num Num Num Expr Call AttributeLoad NameLoad attr CompareIn SubscriptLoad NameLoad Index Num TupleLoad Num Num Num NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Num Expr Call AttributeLoad NameLoad attr CompareIn SubscriptLoad NameLoad Index Num Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad Num Num Expr Call AttributeLoad NameLoad attr CompareIn SubscriptLoad NameLoad Index Num Call NameLoad Num NameLoad If CompareEq SubscriptLoad AttributeLoad NameLoad attr Index Num Num body Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad Str Num Expr Call AttributeLoad NameLoad attr CompareIn SubscriptLoad NameLoad Index Num Call NameLoad Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad Call NameLoad Str Num Expr Call AttributeLoad NameLoad attr CompareIn SubscriptLoad NameLoad Index Num Call NameLoad Call NameLoad Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Num decorator_list decorator_list FunctionDef arguments args NameParam defaults Dict body Return ListLoad Call NameLoad decorator_list If CompareEq NameLoad Str body Assign NameStore Lambda arguments args defaults Call AttributeLoad NameLoad attr Call NameLoad Expr Call AttributeLoad NameLoad attr keyword Str
N/A N/A Self-test suite for Crypto.Random.new() N/A __revision__ $Id$ N/A unittest N/A sys N/A N/A N/A N/A N/A sys version_info N/A 0 2 N/A N/A N/A sys version_info N/A 1 1 N/A Crypto.Util.py21compat * Crypto.Util.py3compat * SimpleTest N/A N/A unittest TestCase N/A runTest N/A N/A self N/A N/A N/A Crypto.Random.new() Crypto Random N/A randobj N/A N/A Random new N/A x N/A N/A randobj read 16 N/A y N/A N/A randobj read 16 N/A N/A N/A self assertNotEqual x y N/A z N/A N/A Random get_random_bytes 16 N/A N/A N/A self assertNotEqual x z N/A N/A N/A self assertNotEqual y z Crypto.Random random N/A x N/A N/A random getrandbits N/A 16 8 N/A y N/A N/A random getrandbits N/A 16 8 N/A N/A N/A self assertNotEqual x y N/A N/A x y N/A N/A start y N/A stop x N/A N/A start x N/A stop y N/A step N/A range 1 10 N/A N/A x N/A N/A random randrange start stop step N/A y N/A N/A random randrange start stop step N/A N/A N/A self assertNotEqual x y N/A N/A N/A self assertEqual N/A start x stop True N/A N/A N/A self assertEqual N/A start y stop True N/A N/A N/A self assertEqual N/A N/A x start step 0 N/A N/A N/A self assertEqual N/A N/A y start step 0 N/A i N/A range 10 N/A N/A N/A N/A self assertEqual N/A N/A random randrange 1 2 1 N/A N/A N/A self assertRaises ValueError N/A random randrange start start N/A N/A N/A self assertRaises ValueError N/A random randrange stop start step N/A N/A N/A self assertRaises TypeError N/A random randrange start stop step step N/A N/A N/A self assertRaises TypeError N/A random randrange start stop 1 N/A N/A N/A self assertRaises TypeError N/A random randrange 1 stop step N/A N/A N/A self assertRaises TypeError N/A random randrange 1 2 step N/A N/A N/A self assertRaises ValueError N/A random randrange start stop 0 N/A x N/A N/A random randint start stop N/A y N/A N/A random randint start stop N/A N/A N/A self assertNotEqual x y N/A N/A N/A self assertEqual N/A start x stop True N/A N/A N/A self assertEqual N/A start y stop True N/A i N/A range 10 N/A N/A N/A N/A self assertEqual N/A N/A random randint 1 1 1 N/A N/A N/A self assertRaises ValueError N/A random randint stop start N/A N/A N/A self assertRaises TypeError N/A random randint start stop step N/A N/A N/A self assertRaises TypeError N/A random randint 1 stop N/A N/A N/A self assertRaises TypeError N/A random randint 1 2 N/A seq N/A range 10000 N/A x N/A N/A random choice seq N/A y N/A N/A random choice seq N/A N/A N/A self assertNotEqual x y N/A N/A N/A self assertEqual N/A x seq True N/A N/A N/A self assertEqual N/A y seq True N/A i N/A range 10 N/A N/A N/A N/A self assertEqual N/A N/A N/A random choice N/A 1 2 3 N/A 1 2 3 True N/A N/A N/A self assertEqual N/A N/A N/A random choice N/A 1 2 3 N/A 1 2 3 True N/A N/A N/A N/A sys version_info N/A 0 3 N/A N/A N/A N/A self assertEqual N/A N/A N/A random choice N/A bytearray N/A b 123 N/A bytearray N/A b 123 True N/A N/A N/A self assertEqual 1 N/A N/A random choice N/A 1 N/A N/A N/A self assertRaises IndexError N/A random choice N/A N/A N/A N/A self assertRaises TypeError N/A random choice 1 N/A seq N/A range 500 N/A x N/A list seq N/A y N/A list seq N/A N/A N/A random shuffle x N/A N/A N/A random shuffle y N/A N/A N/A self assertNotEqual x y N/A N/A N/A self assertEqual N/A len seq N/A len x N/A N/A N/A self assertEqual N/A len seq N/A len y N/A i N/A range N/A len seq N/A N/A N/A N/A self assertEqual N/A N/A x N/A i seq True N/A N/A N/A self assertEqual N/A N/A y N/A i seq True N/A N/A N/A self assertEqual N/A N/A seq N/A i x True N/A N/A N/A self assertEqual N/A N/A seq N/A i y True N/A z N/A 1 N/A N/A N/A random shuffle z N/A N/A N/A self assertEqual z N/A 1 N/A N/A N/A N/A sys version_info N/A 0 3 N/A N/A z N/A bytearray N/A b 12 N/A N/A N/A random shuffle z N/A N/A N/A self assertEqual N/A N/A b 1 z True N/A N/A N/A self assertRaises TypeError N/A random shuffle N/A b 12 N/A N/A N/A self assertRaises TypeError N/A random shuffle 1 N/A N/A N/A self assertRaises TypeError N/A random shuffle 1 N/A N/A N/A self assertRaises TypeError N/A random shuffle N/A 1 2 N/A x N/A N/A random sample seq 20 N/A y N/A N/A random sample seq 20 N/A N/A N/A self assertNotEqual x y N/A i N/A range 20 N/A N/A N/A N/A self assertEqual N/A N/A x N/A i seq True N/A N/A N/A self assertEqual N/A N/A y N/A i seq True N/A z N/A N/A random sample N/A 1 1 N/A N/A N/A self assertEqual z N/A 1 N/A z N/A N/A random sample N/A 1 2 3 1 N/A N/A N/A self assertEqual N/A N/A z N/A 0 N/A 1 2 3 True N/A z N/A N/A random sample 123 1 N/A N/A N/A self assertEqual N/A N/A z N/A 0 123 True N/A z N/A N/A random sample N/A range 3 1 N/A N/A N/A self assertEqual N/A N/A z N/A 0 N/A range 3 True N/A N/A N/A N/A sys version_info N/A 0 3 N/A N/A z N/A N/A random sample N/A b 123 1 N/A N/A N/A self assertEqual N/A N/A z N/A 0 N/A b 123 True N/A z N/A N/A random sample N/A bytearray N/A b 123 1 N/A N/A N/A self assertEqual N/A N/A z N/A 0 N/A bytearray N/A b 123 True N/A N/A N/A self assertRaises TypeError N/A random sample 1 N/A N/A get_tests N/A N/A config N/A N/A N/A N/A N/A N/A SimpleTest N/A N/A N/A __name__ __main__ N/A N/A suite N/A N/A N/A N/A N/A N/A unittest TestSuite N/A get_tests N/A N/A N/A unittest main defaultTest suite