990
993
"""Destroy the test branch, removing the scratch directory."""
994
998
# Work around for shutil.rmtree failing on Windows when
995
999
# readonly files are encountered
996
1001
for root, dirs, files in os.walk(self.base, topdown=False):
998
1003
os.chmod(os.path.join(root, name), 0700)