#NEWLINE# def test_find( self ) : #NEWLINE# #INDENT# l = [ 1 , 2 , 3 ] #NEWLINE# f = ( lambda x : ( x == 3 ) ) #NEWLINE# g = ( lambda x : False ) #NEWLINE# self . assertEqual ( 3 , seq ( l ) . find ( f ) ) #NEWLINE# self . assertIsNone ( seq ( l ) . find ( l ) )