#NEWLINE# def test_timeout_retry( self ) : #NEWLINE# #INDENT# ( dbname , db ) = self . temp_db ( ) #NEWLINE# timeout = 1e-12 #NEWLINE# session = http . Session ( timeout = session , retryable_errors = [ 'timed out' ] ) #NEWLINE# self . assertRaises ( socket . timeout , session . request , 'GET' , db . resource . url )