From 4cbbddc970b2a9eba014aca7d569a5a54d0b3ec0 Mon Sep 17 00:00:00 2001 From: Paul Cunningham Date: Tue, 9 Jun 2015 14:13:35 +0100 Subject: [PATCH] Set ignore errors flag to True Tests were failing in Windows 7 64 bit - see http://stackoverflow.com/a/21966211/2800058 --- test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test.py b/test.py index 268a94e..6af8b29 100644 --- a/test.py +++ b/test.py @@ -86,7 +86,7 @@ class Tests(TestCase): self.all_inst = [self.u1, self.u2, self.u3, self.e1, self.e2, self.e3, self.e4] def tearDown(self): - shutil.rmtree(self.app.config['WHOOSHEE_DIR']) + shutil.rmtree(self.app.config['WHOOSHEE_DIR'], ignore_errors=True) Whooshee.whoosheers = [] self.db.drop_all()