#NEWLINE# def test_focus_on_function( self ) : #NEWLINE# #INDENT# result = self . helper . run_on_function ( ) #NEWLINE# self . assertEqual ( result , 3 ) #NEWLINE# template = [ 'index type function lineNo filename' , '-----------------------------------' , '0 call gcd 33 {0}' , '1 call internal 40 {0}' , '2 call boo 44 {0}' , '3 return boo 45 {0}' , '4 return internal 42 {0}' , '5 call internal 40 {0}' , '6 call boo 44 {0}' , '7 return boo 45 {0}' , '8 return internal 42 {0}' , '9 return gcd 36 {0}' ] #NEWLINE# self . check_records ( self , self . stream ) #NEWLINE# self . assertEqual ( self . helper . monitor . _code_trackers , { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } )