Module ImportFrom alias alias alias alias Import alias Import alias alias alias If BoolOpOr CompareIn SubscriptLoad AttributeLoad NameLoad attr Slice Num TupleLoad Str Str CompareEq AttributeLoad NameLoad attr Str body Raise NameLoad BinOpMod Str AttributeLoad NameLoad attr Assign NameStore Num If NameLoad body Assign NameStore Str orelse Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr If NameLoad body Print Str NameLoad Assign NameStore BinOpMod Str Call NameLoad Assign NameStore NameStore NameLoad FunctionDef arguments args defaults vararg body Global identifier Assign NameStore NameLoad If NameLoad body Print Str NameLoad decorator_list ClassDef bases NameLoad body Pass decorator_list FunctionDef arguments args defaults vararg body Global identifier Assign NameStore NameLoad If NameLoad body Print Str NameLoad Raise NameLoad NameLoad decorator_list FunctionDef arguments args defaults body Import alias Assign NameStore Call AttributeLoad NameLoad attr If NameLoad body Return NameLoad Import alias alias TryFinally body Expr Call AttributeLoad NameLoad attr BinOpAdd NameLoad Num Print AttributeLoad NameLoad attr Str For NameStore TupleLoad Str Str Str Str body Expr Call AttributeLoad NameLoad attr NameLoad Call NameLoad NameLoad NameLoad Print AttributeLoad NameLoad attr Str NameLoad Str NameLoad Expr Call AttributeLoad NameLoad attr Num finalbody Expr Call AttributeLoad NameLoad attr Num decorator_list Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr TryFinally body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call NameLoad TryExcept body Expr Call AttributeLoad NameLoad attr Num Raise Call NameLoad Str handlers ExceptHandler type NameLoad body Pass TryExcept body Expr Call AttributeLoad NameLoad attr Num NameLoad Raise Call NameLoad Str handlers ExceptHandler type NameLoad body Pass TryExcept body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Raise Call NameLoad Str handlers ExceptHandler type NameLoad body Pass Expr Call AttributeLoad NameLoad attr NameLoad TryExcept body Print Str While Num body TryExcept body If NameLoad body Print Str Expr Call AttributeLoad NameLoad attr If NameLoad body Print Str handlers ExceptHandler type NameLoad body If NameLoad body Print Str handlers ExceptHandler type NameLoad body If NameLoad body Print Str If UnaryOpNot NameLoad body Print Str If UnaryOpNot NameLoad body Print Str finalbody TryExcept body If CompareGt NameLoad Num body Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr handlers ExceptHandler body Pass Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad
N/A test.test_support verbose TestSkipped TestFailed vereq N/A signal N/A os sys time N/A N/A N/A N/A N/A sys platform N/A 3 N/A win os2 N/A N/A sys platform riscos N/A N/A TestSkipped N/A Can't test signal on %s N/A sys platform N/A MAX_DURATION 20 N/A verbose N/A N/A x -x N/A N/A x +x N/A pid N/A N/A os getpid N/A verbose N/A N/A test runner's pid is pid N/A script N/A 
 (
        set %(x)s
        sleep 2
        kill -HUP %(pid)d
        sleep 2
        kill -USR1 %(pid)d
        sleep 2
        kill -USR2 %(pid)d
 ) &
 N/A vars N/A a_called b_called False handlerA N/A N/A N/A args N/A N/A a_called N/A a_called True N/A verbose N/A N/A handlerA invoked args N/A HandlerBCalled N/A Exception N/A N/A N/A handlerB N/A N/A N/A args N/A N/A b_called N/A b_called True N/A verbose N/A N/A handlerB invoked args N/A HandlerBCalled args N/A force_test_exit N/A N/A N/A N/A N/A os N/A fork_pid N/A N/A os fork N/A fork_pid N/A N/A fork_pid N/A os time N/A N/A N/A N/A N/A time sleep N/A MAX_DURATION 5 N/A N/A sys __stdout__   child should not have to kill parent N/A signame N/A SIGHUP SIGUSR1 SIGUSR2 SIGALRM N/A N/A N/A N/A os kill pid N/A getattr signal signame N/A N/A sys __stdout__     child sent signame to pid N/A N/A N/A time sleep 1 N/A N/A N/A N/A os _exit 0 N/A N/A hup N/A N/A signal signal N/A signal SIGHUP handlerA N/A usr1 N/A N/A signal signal N/A signal SIGUSR1 handlerB N/A usr2 N/A N/A signal signal N/A signal SIGUSR2 N/A signal SIG_IGN N/A alrm N/A N/A signal signal N/A signal SIGALRM N/A signal default_int_handler N/A N/A N/A N/A N/A signal alarm MAX_DURATION N/A N/A vereq N/A N/A signal getsignal N/A signal SIGHUP handlerA N/A N/A vereq N/A N/A signal getsignal N/A signal SIGUSR1 handlerB N/A N/A vereq N/A N/A signal getsignal N/A signal SIGUSR2 N/A signal SIG_IGN N/A N/A vereq N/A N/A signal getsignal N/A signal SIGALRM N/A signal default_int_handler N/A fork_pid N/A force_test_exit N/A N/A N/A N/A N/A signal getsignal 4242 N/A N/A TestFailed expected ValueError for invalid signal # to getsignal() N/A N/A N/A ValueError N/A N/A N/A N/A N/A N/A N/A signal signal 4242 handlerB N/A N/A TestFailed expected ValueError for invalid signal # to signal() N/A N/A N/A ValueError N/A N/A N/A N/A N/A N/A N/A signal signal N/A signal SIGUSR1 None N/A N/A TestFailed expected TypeError for non-callable N/A N/A N/A TypeError N/A N/A N/A N/A N/A os system script N/A N/A N/A starting pause() loop... N/A 1 N/A N/A N/A N/A verbose N/A N/A call pause()... N/A N/A N/A signal pause N/A verbose N/A N/A pause() returned N/A N/A N/A HandlerBCalled N/A N/A verbose N/A N/A HandlerBCalled exception caught N/A N/A N/A KeyboardInterrupt N/A N/A verbose N/A N/A KeyboardInterrupt (the alarm() went off) N/A N/A a_called N/A N/A HandlerA not called N/A N/A b_called N/A N/A HandlerB not called N/A N/A N/A N/A N/A fork_pid 0 N/A N/A N/A N/A os kill fork_pid N/A signal SIGKILL N/A N/A N/A N/A N/A N/A N/A signal alarm 0 N/A N/A N/A signal signal N/A signal SIGHUP hup N/A N/A N/A signal signal N/A signal SIGUSR1 usr1 N/A N/A N/A signal signal N/A signal SIGUSR2 usr2 N/A N/A N/A signal signal N/A signal SIGALRM alrm