#NEWLINE# def test_summary_arith( bank ) : #NEWLINE# #INDENT# expr = by ( t . name , add_one_and_sum = ( t . amount + 1 ) . sum ( ) ) #NEWLINE# result = compute ( expr , bank ) #NEWLINE# assert ( bank == [ ( 'Bob' , 603 ) , ( 'Alice' , 302 ) ] )