/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/tests/__init__.py

  • Committer: Alexander Belchenko
  • Date: 2006-12-13 08:08:30 UTC
  • mto: This revision was merged to the branch mainline in revision 2182.
  • Revision ID: bialix@ukr.net-20061213080830-94aok8iov52k98zw
Small fix after John's review

Show diffs side-by-side

added added

removed removed

Lines of Context:
176
176
        self.failure_count = 0
177
177
        self.skip_count = 0
178
178
        self.count = 0
179
 
        self.terminal_width = osutils.terminal_width()
180
179
        self._overall_start_time = time.time()
181
180
    
182
181
    def extractBenchmarkTime(self, testCase):
378
377
        self.count += 1
379
378
        name = self._shortened_test_description(test)
380
379
        self.stream.write(self._ellipsize_to_right(name,
381
 
                                                   self.terminal_width-20))
 
380
                            osutils.terminal_width()-20))
382
381
        self.stream.flush()
383
382
 
384
383
    def report_error(self, test, err):