#NEWLINE# def test_raises_stop_iteration( self ) : #NEWLINE# #INDENT# cursor = self . graph . run ( 'RETURN 1' ) #NEWLINE# cursor . forward ( ) #NEWLINE# with self . assertRaises ( StopIteration ) : #NEWLINE# #INDENT# _ = next ( self )