~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: 2007-06-29 06:07:00 UTC
  • mfrom: (2564.1.1 trivial)
  • Revision ID: pqm@pqm.ubuntu.com-20070629060700-wou1v3btg9otmum4
Change out of the test directory before unlinking it, to avoid permission denied errors on Windows (gzlist)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1911
1911
        self.addCleanup(self.deleteTestDir)
1912
1912
 
1913
1913
    def deleteTestDir(self):
 
1914
        os.chdir(self.TEST_ROOT)
1914
1915
        _rmtree_temp_dir(self.test_base_dir)
1915
1916
 
1916
1917
    def build_tree(self, shape, line_endings='binary', transport=None):