#NEWLINE# def test_reverse_stepping( self ) : #NEWLINE# #INDENT# seen = set ( ) #NEWLINE# with self . assertNumQueries ( 2 ) : #NEWLINE# #INDENT# last = sys . maxint #NEWLINE# for ( x , n ) in enumerate ( RangeQuerySetWrapper ( User . objects . all ( ) , step = ( - 3 ) ) ) : #NEWLINE# #INDENT# self . assertTrue ( ( n . id not in seen ) ) #NEWLINE# seen . add ( n . id ) #NEWLINE# self . assertTrue ( ( n . id < last ) ) #NEWLINE# last = n . id