def setUp(self):
        try:
            from pikos.cymonitors.line_monitor import LineMonitor
        except __HOLE__:
            self.skipTest('Cython LineMonitor is not available')
        self.maxDiff = None
        self.stream = StringIO.StringIO()
        self.helper = MonitoringHelper()
        self.filename = self.helper.filename
        self.recorder = TextStreamRecorder(
            text_stream=self.stream,
            filter_=OnValue('filename', self.filename))
        self.monitor = LineMonitor(self.recorder)
        self.helper.monitor = self.monitor
dataset/ETHPy150Open enthought/pikos/pikos/tests/test_cline_monitor.py/TestCLineMonitor.setUp