#NEWLINE# def test_consistency( self ) : #NEWLINE# #INDENT# major_axis = lrange ( 70000 ) #NEWLINE# minor_axis = lrange ( 10 ) #NEWLINE# major_labels = np . arange ( 70000 ) #NEWLINE# minor_labels = np . repeat ( lrange ( 10 ) , 7000 ) #NEWLINE# index = MultiIndex ( levels = [ major_axis , minor_axis ] , labels = [ major_labels , minor_labels ] ) #NEWLINE# major_labels = np . array ( [ 0 , 0 , 1 , 1 , 1 , 2 , 2 , 3 , 3 ] ) #NEWLINE# minor_labels = np . array ( [ 0 , 1 , 0 , 1 , 1 , 0 , 1 , 0 , 1 ] ) #NEWLINE# index = MultiIndex ( levels = [ major_axis , minor_axis ] , labels = [ major_labels , minor_labels ] ) #NEWLINE# self . assertFalse ( index . is_unique )