#NEWLINE# def test_join_left( self ) : #NEWLINE# #INDENT# other = Int64Index ( np . arange ( 25 , 14 , ( - 1 ) ) ) #NEWLINE# ( res , lidx , ridx ) = self . index . join ( other , how = 'left' , return_indexers = True ) #NEWLINE# eres = self . index #NEWLINE# eridx = np . array ( [ ( - 1 ) , ( - 1 ) , ( - 1 ) , ( - 1 ) , ( - 1 ) , ( - 1 ) , ( - 1 ) , ( - 1 ) , 9 , 7 ] , dtype = np . int64 ) #NEWLINE# self . assertIsInstance ( res , RangeIndex ) #NEWLINE# self . assertTrue ( res . equals ( eres ) ) #NEWLINE# self . assertIsNone ( lidx ) #NEWLINE# self . assert_numpy_array_equal ( ridx , eridx ) #NEWLINE# other = Int64Index ( np . arange ( 25 , 14 , ( - 1 ) ) ) #NEWLINE# ( res , lidx , ridx ) = self . index . join ( other , how = 'left' , return_indexers = True ) #NEWLINE# self . assertIsInstance ( res , RangeIndex ) #NEWLINE# self . assertTrue ( res . equals ( eres ) ) #NEWLINE# self . assertIsNone ( lidx ) #NEWLINE# self . assert_numpy_array_equal ( ridx , eridx )