Module Import alias Import alias Import alias Import alias Import alias Import alias ImportFrom alias alias alias ImportFrom alias alias ImportFrom alias Expr Call NameLoad Call AttributeLoad NameLoad attr Num Assign NameStore Num FunctionDef arguments args defaults vararg kwarg body Assign NameStore BinOpMult Call NameLoad NameLoad NameLoad Call AttributeLoad NameLoad attr Str Num Assign NameStore ListLoad ListLoad For NameStore NameLoad body Assign NameStore ListComp BinOpAdd NameLoad ListLoad NameLoad comprehension NameStore NameLoad comprehension NameStore NameLoad For NameStore NameLoad body Expr Yield Call NameLoad NameLoad decorator_list If UnaryOpNot Call NameLoad NameLoad Str body Expr Call NameLoad NameLoad Str NameLoad Assign NameStore ListLoad Str Str Str Str Str Str FunctionDef arguments args defaults body Return Call AttributeLoad Call AttributeLoad Call NameLoad Str attr Call AttributeLoad Call AttributeLoad Call NameLoad Str attr Call NameLoad Str attr Call AttributeLoad Call NameLoad Str attr Call NameLoad Str attr Call NameLoad Str decorator_list Assign NameStore ListLoad Str Str Str Str Str Str FunctionDef arguments args defaults body Return Call AttributeLoad Call AttributeLoad Call NameLoad Str attr Call AttributeLoad Call NameLoad Str attr Call AttributeLoad Call AttributeLoad Call NameLoad Str attr Call NameLoad Str attr Call NameLoad Str attr Call NameLoad Str decorator_list Assign NameStore ListLoad Str Str Str Str Str Str FunctionDef arguments args defaults body Return Call AttributeLoad Call AttributeLoad Call NameLoad Str attr Call AttributeLoad Call AttributeLoad Call NameLoad Str attr Call NameLoad Str attr Call AttributeLoad Call NameLoad Str attr Call NameLoad Str attr Call NameLoad Str decorator_list Assign NameStore ListLoad Str Str Str Str Str Str FunctionDef arguments args defaults body Return Call AttributeLoad Call AttributeLoad Call NameLoad Str attr Call AttributeLoad Call AttributeLoad Call NameLoad Str attr Call NameLoad Str attr Call AttributeLoad Call NameLoad Str attr Call NameLoad Str attr Call NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults Num Str Num Num body Assign NameStore ListComp Call AttributeLoad Str attr NameLoad comprehension NameStore Call AttributeLoad NameLoad attr NameLoad keyword NameLoad Expr Call NameLoad NameLoad Assign NameStore GeneratorExp NameLoad comprehension NameStore NameLoad Assign NameStore Call NameLoad Str Assign NameStore ListLoad NameLoad Assign NameStore Call NameLoad For NameStore Call NameLoad BinOpSub NameLoad Num body For NameStore NameLoad body For NameStore Call NameLoad Call NameLoad Num BinOpAdd Num NameLoad body Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore NameLoad Assign NameStore Call NameLoad Return NameLoad decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr CompareIn Str NameLoad Expr Call AttributeLoad NameLoad attr CompareIn Str NameLoad Expr Call AttributeLoad NameLoad attr CompareIn Str NameLoad Expr Call AttributeLoad NameLoad attr CompareIn Str NameLoad Expr Call AttributeLoad NameLoad attr CompareIn Str NameLoad Expr Call AttributeLoad NameLoad attr CompareIn Str NameLoad Expr Call AttributeLoad NameLoad attr CompareIn Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad Call AttributeLoad NameLoad attr Str attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad Call AttributeLoad NameLoad attr Str attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad Call AttributeLoad NameLoad attr Str attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad Call AttributeLoad NameLoad attr Str attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad Call AttributeLoad NameLoad attr Str attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad Call AttributeLoad NameLoad attr Str attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad Call AttributeLoad NameLoad attr Str attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad Call AttributeLoad NameLoad attr Str attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad Call AttributeLoad NameLoad attr Str attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad Call AttributeLoad NameLoad attr Str attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad Call AttributeLoad NameLoad attr Str attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad Call AttributeLoad NameLoad attr Str attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad GeneratorExp AttributeLoad NameLoad attr comprehension NameStore Call AttributeLoad NameLoad attr ListLoad Str Str Str Str Str Str decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr ListLoad Call NameLoad Call NameLoad Call NameLoad Call NameLoad keyword Num For TupleStore NameStore NameStore NameLoad body Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr BoolOpOr BoolOpAnd CompareEq NameLoad Num CompareIs NameLoad NameLoad CompareIsNot NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr ListLoad Call NameLoad Call NameLoad Call NameLoad Call NameLoad keyword Num For TupleStore NameStore NameStore NameStore NameLoad body Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr CompareLtE NameLoad BinOpAdd NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr GeneratorExp Call NameLoad Num keyword Num keyword Num comprehension NameStore Call NameLoad NameLoad keyword Num For TupleStore NameStore NameStore NameLoad body Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr GeneratorExp Call NameLoad Num keyword Num keyword Num comprehension NameStore Call NameLoad NameLoad keyword Num For TupleStore NameStore NameStore NameLoad body Assign NameStore Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr BoolOpOr BoolOpAnd CompareEq NameLoad Num CompareIs NameLoad NameLoad CompareIsNot NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr GeneratorExp Call NameLoad Num keyword Num keyword Num comprehension NameStore Call NameLoad NameLoad GeneratorExp Call NameLoad Num keyword Num keyword Num comprehension NameStore Call NameLoad NameLoad GeneratorExp Call NameLoad Num keyword Num keyword Num comprehension NameStore Call NameLoad NameLoad For TupleStore NameStore NameStore NameStore NameLoad body Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr CompareLtE NameLoad BinOpAdd NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body For NameStore GeneratorExp Call NameLoad Num keyword Num keyword Num comprehension NameStore Call NameLoad BinOpMult NameLoad Num body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr ListComp NameLoad comprehension NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Str Assert CompareEq Call NameLoad NameLoad NameLoad Call NameLoad NameLoad AttributeLoad NameLoad attr decorator_list decorator_list If CompareEq NameLoad Str body If CompareGt Call NameLoad AttributeLoad NameLoad attr Num body Import alias Expr Call AttributeLoad NameLoad attr Str Str orelse Expr Call AttributeLoad NameLoad attr
N/A N/A copy N/A itertools N/A os N/A sys N/A random N/A unittest random randint seed shuffle zss simple_distance Node zss.compare strdist N/A N/A seed N/A N/A os urandom 15 N/A N 3 product N/A N/A N/A args kwds N/A N/A pools N/A N/A map tuple args N/A N/A kwds get repeat 1 N/A result N/A N/A N/A pool pools N/A N/A result N/A N/A x N/A y N/A x result N/A y pool N/A prod result N/A N/A N/A N/A tuple prod N/A N/A N/A N/A hasattr itertools product N/A N/A N/A setattr itertools product product N/A tree1_nodes N/A a b c d e f tree1 N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A Node f addkid N/A N/A N/A N/A N/A Node d addkid N/A Node a addkid N/A N/A N/A Node c addkid N/A Node b addkid N/A Node e N/A N/A tree2_nodes N/A a b c d e f tree2 N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A Node a addkid N/A N/A N/A Node c addkid N/A N/A N/A N/A N/A Node d addkid N/A Node b addkid N/A Node e addkid N/A Node f N/A N/A tree3_nodes N/A a b c d e f tree3 N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A Node a addkid N/A N/A N/A N/A N/A Node d addkid N/A Node f addkid N/A N/A N/A Node c addkid N/A Node b addkid N/A Node e N/A N/A tree4_nodes N/A q b c d e f tree4 N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A Node f addkid N/A N/A N/A N/A N/A Node d addkid N/A Node q addkid N/A N/A N/A Node c addkid N/A Node b addkid N/A Node e N/A randtree N/A N/A depth alpha repeat width N/A 2 abcdefghijklmnopqrstuvwxyz 2 2 N/A N/A labels N/A N/A N/A join x N/A x N/A N/A itertools product alpha repeat repeat N/A N/A shuffle labels N/A labels N/A x N/A x labels N/A root N/A Node root N/A p N/A root N/A c N/A list N/A x N/A xrange N/A depth 1 N/A N/A y p N/A N/A z N/A xrange N/A randint 1 N/A 1 width N/A N/A n N/A Node N/A N/A labels next N/A N/A N/A y addkid n N/A N/A N/A c append n N/A p c N/A c N/A list N/A root N/A TestTestNode N/A N/A unittest TestCase N/A test_contains N/A N/A self N/A N/A N/A root N/A tree1 N/A N/A N/A self assertTrue N/A a root N/A N/A N/A self assertTrue N/A b root N/A N/A N/A self assertTrue N/A c root N/A N/A N/A self assertTrue N/A d root N/A N/A N/A self assertTrue N/A e root N/A N/A N/A self assertTrue N/A f root N/A N/A N/A self assertFalse N/A q root N/A test_get N/A N/A self N/A N/A N/A root N/A tree1 N/A N/A N/A self assertEquals N/A N/A N/A root get a label a N/A N/A N/A self assertEquals N/A N/A N/A root get b label b N/A N/A N/A self assertEquals N/A N/A N/A root get c label c N/A N/A N/A self assertEquals N/A N/A N/A root get d label d N/A N/A N/A self assertEquals N/A N/A N/A root get e label e N/A N/A N/A self assertEquals N/A N/A N/A root get f label f N/A N/A N/A self assertNotEquals N/A N/A N/A root get a label x N/A N/A N/A self assertNotEquals N/A N/A N/A root get b label x N/A N/A N/A self assertNotEquals N/A N/A N/A root get c label x N/A N/A N/A self assertNotEquals N/A N/A N/A root get d label x N/A N/A N/A self assertNotEquals N/A N/A N/A root get e label x N/A N/A N/A self assertNotEquals N/A N/A N/A root get f label x N/A N/A N/A self assertEquals N/A N/A root get x None N/A test_iter N/A N/A self N/A N/A N/A root N/A tree1 N/A N/A N/A self assertEqual N/A list N/A N/A x label N/A x N/A N/A root iter N/A f d e a c b N/A N/A TestCompare N/A N/A unittest TestCase N/A test_distance N/A N/A self N/A N/A N/A trees N/A N/A itertools product N/A N/A tree1 N/A tree2 N/A tree3 N/A tree4 repeat 2 N/A N/A a b trees N/A N/A ab N/A simple_distance a b N/A ba N/A simple_distance b a N/A N/A N/A self assertEquals ab ba N/A N/A N/A self assertTrue N/A N/A N/A ab 0 N/A a b N/A a b N/A trees N/A N/A itertools product N/A N/A tree1 N/A tree2 N/A tree3 N/A tree4 repeat 3 N/A N/A a b c trees N/A N/A ab N/A simple_distance a b N/A bc N/A simple_distance b c N/A ac N/A simple_distance a c N/A N/A N/A self assertTrue N/A ac N/A ab bc N/A test_symmetry N/A N/A self N/A N/A N/A trees N/A N/A itertools product N/A N/A randtree 5 repeat 3 width 2 N/A x N/A xrange N repeat 2 N/A N/A a b trees N/A N/A ab N/A simple_distance a b N/A ba N/A simple_distance b a N/A N/A N/A self assertEquals ab ba N/A test_nondegenercy N/A N/A self N/A N/A N/A trees N/A N/A itertools product N/A N/A randtree 5 repeat 3 width 2 N/A x N/A xrange N repeat 2 N/A N/A a b trees N/A N/A d N/A simple_distance a b N/A N/A N/A self assertTrue N/A N/A N/A d 0 N/A a b N/A a b N/A test_triangle_inequality N/A N/A self N/A N/A N/A trees N/A N/A itertools product N/A N/A randtree 5 repeat 3 width 2 N/A x N/A xrange N N/A N/A randtree 5 repeat 3 width 2 N/A x N/A xrange N N/A N/A randtree 5 repeat 3 width 2 N/A x N/A xrange N N/A N/A a b c trees N/A N/A ab N/A simple_distance a b N/A bc N/A simple_distance b c N/A ac N/A simple_distance a c N/A N/A N/A self assertTrue N/A ac N/A ab bc N/A test_labelchange N/A N/A self N/A N/A N/A A N/A N/A randtree 5 repeat 3 width 2 N/A x N/A xrange N/A N 4 N/A N/A B N/A N/A copy deepcopy A N/A node N/A N/A random choice N/A n N/A n N/A N/A B iter N/A old_label N/A str N/A node label N/A N/A node label xty N/A N/A N/A simple_distance A B N/A strdist old_label N/A node label N/A N/A N/A N/A __name__ __main__ N/A N/A N/A N/A len N/A sys argv 1 N/A N/A cProfile N/A N/A N/A cProfile run unittest.main() profile N/A N/A N/A N/A unittest main