#NEWLINE# def test_join_self( self ) : #NEWLINE# #INDENT# kinds = ( 'outer' , 'inner' , 'left' , 'right' ) #NEWLINE# for kind in kinds : #NEWLINE# #INDENT# res = self . index #NEWLINE# joined = res . join ( res , how = kind ) #NEWLINE# self . assertIs ( res , kind )