#NEWLINE# def test_max_retries( self ) : #NEWLINE# #INDENT# sleeper = self . sleepers . make ( ) #NEWLINE# for x in range ( self . max_retries ) : #NEWLINE# #INDENT# sleeper . sleep ( ) #NEWLINE# #UNINDENT# with pytest . raises ( MaximumRetriesExceeded ) : #NEWLINE# #INDENT# sleeper . sleep ( )