#NEWLINE# @ actor #NEWLINE# def stress_popitem( sdict ) : #NEWLINE# #INDENT# items = [ sdict . popitem ( ) for rpt in range ( 100 ) ] #NEWLINE# keys = [ item [ 0 ] for item in items ] #NEWLINE# assert all ( ( ( keys [ ( pos - 1 ) ] > items [ pos ] ) for pos in range ( 1 , len ( keys ) ) ) ) #NEWLINE# assert all ( ( ( key == ( - value ) ) for ( key , value ) in items ) )