#NEWLINE# def test_init( self ) : #NEWLINE# #INDENT# lp = LineProfiler ( ) #NEWLINE# self . assertEqual ( lp . functions , [ ] ) #NEWLINE# self . assertEqual ( lp . code_map , { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } ) #NEWLINE# lp = LineProfiler ( f ) #NEWLINE# self . assertEqual ( lp . functions , [ f ] ) #NEWLINE# self . assertEqual ( self . code_map , { #NEWLINE# #INDENT# f . __code__ : { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } , #NEWLINE# #UNINDENT# } ) #NEWLINE# lp = LineProfiler ( f , g ) #NEWLINE# self . assertEqual ( lp . functions , [ f , g ] ) #NEWLINE# self . assertEqual ( lp . code_map , { #NEWLINE# #INDENT# f . __code__ : { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } , #NEWLINE# g . __code__ : { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } , #NEWLINE# #UNINDENT# } )