~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/selftest/__init__.py

mergeĀ fromĀ upstream

Show diffs side-by-side

added added

removed removed

Lines of Context:
74
74
        
75
75
        self._log_file_name = name
76
76
 
77
 
    def run(self, result):
78
 
        self.apply_redirected(None, None, None,
79
 
                              unittest.TestCase.run, self, result)
80
 
        
81
77
    def tearDown(self):
82
78
        logging.getLogger('').removeHandler(self._log_hdlr)
83
79
        bzrlib.trace.enable_default_logging()
85
81
        self._log_file.close()
86
82
        unittest.TestCase.tearDown(self)
87
83
 
88
 
 
89
84
    def log(self, *args):
90
85
        logging.debug(*args)
91
86