Mercurial > hgsubversion
diff tests/test_fetch_renames.py @ 78:072010a271c6
Fix basic issues with tests on Windows
- shutil.rmtree() fails if there are any read-only files (svn store)
- Fix files:// URLs
- os.spawnvp()/Popen4() do not exist under Windows, use subprocess
author | Patrick Mezard <pmezard@gmail.com> |
---|---|
date | Sun, 09 Nov 2008 18:08:35 -0600 |
parents | 9c1b53abefcb |
children | 7d10165cf3d9 |
line wrap: on
line diff
--- a/tests/test_fetch_renames.py +++ b/tests/test_fetch_renames.py @@ -20,7 +20,7 @@ class TestFetchRenames(unittest.TestCase self.wc_path = '%s/testrepo_wc' % self.tmpdir def tearDown(self): - shutil.rmtree(self.tmpdir) + test_util.rmtree(self.tmpdir) os.chdir(self.oldwd) def _load_fixture_and_fetch(self, fixture_name, stupid):