#NEWLINE# def test_sample_equivalence( self ) : #NEWLINE# #INDENT# expected = list ( reversed ( list ( enumerate ( self . sample ) ) ) ) #NEWLINE# actual = list ( misc . reverse_enumerate ( self . sample ) ) #NEWLINE# self . assertEqual ( expected , actual )