#NEWLINE# @ testing . allow_interpreter_mode #NEWLINE# def test_return_generator_expr( self ) : #NEWLINE# #INDENT# pyfunc = return_generator_expr #NEWLINE# cr = compile_isolated ( pyfunc , ( ) ) #NEWLINE# cfunc = cr . entry_point #NEWLINE# self . assertEqual ( sum ( cfunc ( [ 1 , 2 , 3 ] ) ) , sum ( pyfunc ( [ 1 , 2 , 3 ] ) ) )