#NEWLINE# def test_join_combines_multiple_futures_into_one( self ) : #NEWLINE# #INDENT# future = self . results [ 0 ] . join ( self . results [ 1 ] , self . results [ 2 ] ) #NEWLINE# self . results [ 0 ] . set ( 0 ) #NEWLINE# self . results [ 1 ] . set ( 1 ) #NEWLINE# self . results [ 2 ] . set ( 2 ) #NEWLINE# self . assertEqual ( future . get ( timeout = 0 ) , [ 0 , 1 , 2 ] )