summaryrefslogtreecommitdiff
path: root/tests/util.py
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2014-11-06 09:10:32 +0100
committerGeorg Brandl <georg@python.org>2014-11-06 09:10:32 +0100
commitdb57e82afe3183d8a3a3a290cf635d2db52a38b6 (patch)
treeec0f5036612107916dcfa0e4204add4df2c58282 /tests/util.py
parentd06ede265d488b60176b96ab5eef7728f67f759c (diff)
downloadsphinx-git-db57e82afe3183d8a3a3a290cf635d2db52a38b6.tar.gz
Stop removing temporary test data after tests.
Diffstat (limited to 'tests/util.py')
-rw-r--r--tests/util.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/util.py b/tests/util.py
index bf35d2793..f2fbadd93 100644
--- a/tests/util.py
+++ b/tests/util.py
@@ -255,7 +255,6 @@ def with_tempdir(func):
def new_func(*args, **kwds):
new_tempdir = path(tempfile.mkdtemp(dir=tempdir))
func(new_tempdir, *args, **kwds)
- new_tempdir.rmtree() # not when test fails...
new_func.__name__ = func.__name__
return new_func