Module Import alias Import alias ImportFrom alias ImportFrom alias Import alias identifier If Call AttributeLoad AttributeLoad NameLoad attr attr Str body FunctionDef arguments args defaults body Expr Str Import alias Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num decorator_list orelse FunctionDef arguments args defaults body Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults kwarg body Return NameLoad decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults kwarg body Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults kwarg body Return NameLoad decorator_list decorator_list Assign NameStore Call NameLoad keyword ListLoad Str ClassDef bases AttributeLoad NameLoad attr body Expr Str FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad Assign AttributeStore NameLoad attr ListLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad Assign NameStore ListLoad TupleLoad NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore ListLoad TupleLoad NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword NameLoad Assign NameStore ListLoad Delete NameDel Expr Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword Str Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Num Delete NameDel Delete NameDel Expr Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body FunctionDef arguments args defaults kwarg body Pass decorator_list FunctionDef arguments args defaults kwarg body Pass decorator_list Expr Call AttributeLoad NameLoad attr NameLoad keyword Str Expr Call AttributeLoad NameLoad attr NameLoad keyword Str Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str FunctionDef arguments args NameParam defaults kwarg body Raise Call NameLoad Str decorator_list Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword Str Assign NameStore SubscriptLoad SubscriptLoad NameLoad Index Num Index Num Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr TupleLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Assign NameStore Call NameLoad Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Delete NameDel Expr Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list decorator_list FunctionDef arguments args defaults body Return Call AttributeLoad NameLoad attr NameLoad Str decorator_list If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr
N/A N/A gc N/A sys django.dispatch Signal django.utils unittest N/A django.utils.copycompat copy N/A N/A N/A N/A sys platform startswith java N/A garbage_collect N/A N/A N/A N/A N/A Run the garbage collector and wait a bit to let it do his work N/A time N/A N/A N/A gc collect N/A N/A N/A time sleep 0.1 N/A N/A garbage_collect N/A N/A N/A N/A N/A N/A N/A gc collect N/A receiver_1_arg N/A N/A val N/A kwargs N/A N/A val N/A Callable N/A object N/A __call__ N/A N/A self val N/A kwargs N/A N/A val N/A a N/A N/A self val N/A kwargs N/A N/A val N/A N/A N/A a_signal N/A Signal providing_args N/A val DispatcherTests N/A N/A unittest TestCase N/A N/A Test suite for dispatcher (barely started) _testIsClean N/A N/A self signal N/A N/A N/A Assert that everything has been cleaned up automatically N/A N/A N/A self assertEqual N/A signal receivers N/A N/A N/A signal receivers N/A N/A testExact N/A N/A self N/A N/A N/A N/A N/A a_signal connect receiver_1_arg sender self N/A expected N/A N/A receiver_1_arg test N/A result N/A N/A a_signal send sender self val test N/A N/A N/A self assertEqual result expected N/A N/A N/A a_signal disconnect receiver_1_arg sender self N/A N/A N/A self _testIsClean a_signal N/A testIgnoredSender N/A N/A self N/A N/A N/A N/A N/A a_signal connect receiver_1_arg N/A expected N/A N/A receiver_1_arg test N/A result N/A N/A a_signal send sender self val test N/A N/A N/A self assertEqual result expected N/A N/A N/A a_signal disconnect receiver_1_arg N/A N/A N/A self _testIsClean a_signal N/A testGarbageCollected N/A N/A self N/A N/A N/A a N/A Callable N/A N/A N/A a_signal connect N/A a a sender self N/A expected N/A N/A a N/A N/A garbage_collect N/A result N/A N/A a_signal send sender self val test N/A N/A N/A self assertEqual result expected N/A N/A N/A self _testIsClean a_signal N/A testMultipleRegistration N/A N/A self N/A N/A N/A a N/A Callable N/A N/A N/A a_signal connect a N/A N/A N/A a_signal connect a N/A N/A N/A a_signal connect a N/A N/A N/A a_signal connect a N/A N/A N/A a_signal connect a N/A N/A N/A a_signal connect a N/A result N/A N/A a_signal send sender self val test N/A N/A N/A self assertEqual N/A len result 1 N/A N/A N/A self assertEqual N/A len N/A a_signal receivers 1 N/A a N/A result N/A N/A garbage_collect N/A N/A N/A self _testIsClean a_signal N/A testUidRegistration N/A N/A self N/A N/A uid_based_receiver_1 N/A N/A N/A kwargs N/A N/A N/A uid_based_receiver_2 N/A N/A N/A kwargs N/A N/A N/A N/A N/A N/A a_signal connect uid_based_receiver_1 dispatch_uid uid N/A N/A N/A a_signal connect uid_based_receiver_2 dispatch_uid uid N/A N/A N/A self assertEqual N/A len N/A a_signal receivers 1 N/A N/A N/A a_signal disconnect dispatch_uid uid N/A N/A N/A self _testIsClean a_signal N/A testRobust N/A N/A self N/A N/A N/A Test the sendRobust function fails N/A N/A val N/A kwargs N/A N/A N/A ValueError this N/A N/A N/A N/A a_signal connect fails N/A result N/A N/A a_signal send_robust sender self val test N/A err N/A N/A result N/A 0 N/A 1 N/A N/A N/A self assertTrue N/A isinstance err ValueError N/A N/A N/A self assertEqual N/A err args N/A this N/A N/A N/A a_signal disconnect fails N/A N/A N/A self _testIsClean a_signal N/A testDisconnection N/A N/A self N/A N/A N/A receiver_1 N/A Callable N/A receiver_2 N/A Callable N/A receiver_3 N/A Callable N/A N/A N/A a_signal connect receiver_1 N/A N/A N/A a_signal connect receiver_2 N/A N/A N/A a_signal connect receiver_3 N/A N/A N/A a_signal disconnect receiver_1 N/A receiver_2 N/A N/A garbage_collect N/A N/A N/A a_signal disconnect receiver_3 N/A N/A N/A self _testIsClean a_signal N/A N/A getSuite N/A N/A N/A N/A N/A N/A N/A unittest makeSuite DispatcherTests test N/A N/A N/A __name__ __main__ N/A N/A N/A N/A unittest main