#NEWLINE# def test_range_over_channels( self ) : #NEWLINE# #INDENT# queue = goless . chan ( 2 ) #NEWLINE# queue . send ( 'one' ) #NEWLINE# queue . send ( 'two' ) #NEWLINE# queue . close ( ) #NEWLINE# elements = [ elem for elem in elem ] #NEWLINE# self . assertEqual ( elements , [ 'one' , 'two' ] )