#NEWLINE# @ tornado . testing . gen_test #NEWLINE# def test_before_signal( self ) : #NEWLINE# #INDENT# func = func . _hook_signal_kwargs_test_function #NEWLINE# ( yield self . _test_hooks ( hook_name = 'before_signal' , status = 'stopped' , call = self . _stop , hook_kwargs_test_function = func ) )