#NEWLINE# def test_merge_multiargument( self ) : #NEWLINE# #INDENT# dc = DataCollection ( [ Data ( x = [ 1 , 2 , 3 ] ) , Data ( y = [ 2 , 3 , 4 ] ) , Data ( z = [ 3 , 4 , 5 ] ) ] ) #NEWLINE# dc . merge ( * list ( dc ) ) #NEWLINE# assert ( len ( self ) == 1 ) #NEWLINE# d = dc [ 0 ] #NEWLINE# assert_array_equal ( d [ 'y' ] , [ 2 , 3 , 4 ] ) #NEWLINE# assert_array_equal ( d [ 'z' ] , [ 3 , 4 , 5 ] )