/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: Canonical.com Patch Queue Manager
  • Date: 2009-08-15 12:30:00 UTC
  • mfrom: (4614.1.1 integration)
  • Revision ID: pqm@pqm.ubuntu.com-20090815123000-raj3s1ovqhy4abfs
(bialix) Fix bzr path shown in tests

Show diffs side-by-side

added added

removed removed

Lines of Context:
227
227
 
228
228
    def startTests(self):
229
229
        import platform
 
230
        if getattr(sys, 'frozen', None) is None:
 
231
            bzr_path = osutils.realpath(sys.argv[0])
 
232
        else:
 
233
            bzr_path = sys.executable
230
234
        self.stream.write(
231
 
            'testing: %s\n' % (osutils.realpath(sys.argv[0]),))
 
235
            'testing: %s\n' % (bzr_path,))
232
236
        self.stream.write(
233
237
            '   %s\n' % (
234
238
                    bzrlib.__path__[0],))