#NEWLINE# def test_argsort( self ) : #NEWLINE# #INDENT# for ( k , ind ) in self . indices . items ( ) : #NEWLINE# #INDENT# if ( k in [ 'catIndex' ] ) : #NEWLINE# #INDENT# continue #NEWLINE# #UNINDENT# result = ind . argsort ( ) #NEWLINE# expected = np . array ( ind ) . argsort ( ) #NEWLINE# tm . assert_numpy_array_equal ( result , expected )