#NEWLINE# def setUp( self ) : #NEWLINE# #INDENT# self . maxDiff = None #NEWLINE# self . stream = StringIO . StringIO ( ) #NEWLINE# def monitor_factory( functions = [ ] ) : #NEWLINE# #INDENT# return FocusedLineMonitor ( functions = functions , recorder = self . recorder ) #NEWLINE# #UNINDENT# self . helper = FocusedMonitoringHelper ( monitor_factory ) #NEWLINE# self . filename = self . helper . filename #NEWLINE# self . recorder = TextStreamRecorder ( text_stream = self . stream )