#NEWLINE# def __init__( self , stream = None , tbformat = None , rterrors = None , publisher = None ) : #NEWLINE# #INDENT# '\n        Create a capturing reporter.\n        ' #NEWLINE# self . _calls = [ ] #NEWLINE# self . shouldStop = False #NEWLINE# self . _stream = stream #NEWLINE# self . _tbformat = tbformat #NEWLINE# self . _rterrors = rterrors #NEWLINE# self . _publisher = publisher