#NEWLINE# def test_run( self ) : #NEWLINE# #INDENT# p = self . proc ( 'bench' , '-s' , 'LOGSTATS_INTERVAL=0.001' , '-s' , 'CLOSESPIDER_TIMEOUT=0.01' ) #NEWLINE# log = to_native_str ( p . stderr . read ( ) ) #NEWLINE# self . assertIn ( 'INFO: Crawled' , log ) #NEWLINE# self . assertNotIn ( 'Unhandled Error' , self )