603
603
The file is removed as the test is torn down.
605
605
fileno, name = tempfile.mkstemp(suffix='.log', prefix='testbzr')
606
encoder, decoder, stream_reader, stream_writer = codecs.lookup('UTF-8')
608
607
self._log_nonce = bzrlib.trace.enable_test_log(self._log_file)
609
608
self._log_file_name = name
610
609
self.addCleanup(self._finishLogFile)