/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-09-19 23:07:18 UTC
  • mfrom: (4707.2.1 integration)
  • Revision ID: pqm@pqm.ubuntu.com-20090919230718-vm9zqiov9h3t9bzg
(vila) Fix some test regressions on OSX and FreeBSD

Show diffs side-by-side

added added

removed removed

Lines of Context:
2346
2346
 
2347
2347
    def _make_test_root(self):
2348
2348
        if TestCaseWithMemoryTransport.TEST_ROOT is None:
2349
 
            root = osutils.mkdtemp(prefix='testbzr-', suffix='.tmp')
 
2349
            # Watch out for tricky test dir (on OSX /tmp -> /private/tmp)
 
2350
            root = osutils.realpath(osutils.mkdtemp(prefix='testbzr-',
 
2351
                                                    suffix='.tmp'))
2350
2352
            TestCaseWithMemoryTransport.TEST_ROOT = root
2351
2353
 
2352
2354
            self._create_safety_net()