summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pyramid/tests/test_scaffolds/test_copydir.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/pyramid/tests/test_scaffolds/test_copydir.py b/pyramid/tests/test_scaffolds/test_copydir.py
index b61dc85c3..114de266f 100644
--- a/pyramid/tests/test_scaffolds/test_copydir.py
+++ b/pyramid/tests/test_scaffolds/test_copydir.py
@@ -14,6 +14,7 @@ class Test_copy_dir(unittest.TestCase):
def tearDown(self):
import shutil
shutil.rmtree(self.dirname, ignore_errors=True)
+ self.out.close()
def _callFUT(self, *arg, **kw):
kw['out_'] = self.out