#NEWLINE# def no_jump_without_trace_function( ) : #NEWLINE# #INDENT# try : #NEWLINE# #INDENT# previous_frame = sys . _getframe ( ) . f_back #NEWLINE# previous_frame . f_lineno = previous_frame . f_lineno #NEWLINE# #UNINDENT# except ValueError as e : #NEWLINE# #INDENT# if ( 'trace' not in str ( e ) ) : #NEWLINE# #INDENT# raise #NEWLINE# #UNINDENT# #UNINDENT# else : #NEWLINE# #INDENT# raise RuntimeError ( 'Trace-function-less jump failed to fail' )