~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/__init__.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2009-08-15 09:15:03 UTC
  • mfrom: (4595.7.4 409137-lsb-release)
  • Revision ID: pqm@pqm.ubuntu.com-20090815091503-qwbm6glvv31rnujw
(mbp) show platform in selftest, version and backtrace

Show diffs side-by-side

added added

removed removed

Lines of Context:
226
226
        self._recordTestStartTime()
227
227
 
228
228
    def startTests(self):
 
229
        import platform
229
230
        self.stream.write(
230
231
            'testing: %s\n' % (osutils.realpath(sys.argv[0]),))
231
232
        self.stream.write(
232
 
            '   %s (%s python%s)\n' % (
233
 
                    bzrlib.__path__[0],
 
233
            '   %s\n' % (
 
234
                    bzrlib.__path__[0],))
 
235
        self.stream.write(
 
236
            '   bzr-%s python-%s %s\n' % (
234
237
                    bzrlib.version_string,
235
238
                    bzrlib._format_version_tuple(sys.version_info),
 
239
                    platform.platform(aliased=1),
236
240
                    ))
237
241
        self.stream.write('\n')
238
242