#NEWLINE# def test_do( ) : #NEWLINE# #INDENT# inc = ( lambda x : ( x + 1 ) ) #NEWLINE# assert ( do ( inc , 1 ) == 1 ) #NEWLINE# log = [ ] #NEWLINE# assert ( do ( log . append , 1 ) == 1 ) #NEWLINE# assert ( log == [ 1 ] )