Commit 6c94c097 authored by Jim Fulton's avatar Jim Fulton

Fixed tearDown to work on windows.

parent fabe4fed
......@@ -90,9 +90,9 @@ class RepozoTests(unittest.TestCase):
self.db = OurDB(self.datadir)
def tearDown(self):
os.chdir(self.currdir)
import shutil
shutil.rmtree(self.basedir)
os.chdir(self.currdir)
def _callRepozoMain(self, argv):
from ZODB.scripts.repozo import main
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment