diff options
author | Georg Brandl <georg@python.org> | 2014-11-06 09:10:32 +0100 |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2014-11-06 09:10:32 +0100 |
commit | 67785d166cd86f16bd0a66ff4408ff56bba1b839 (patch) | |
tree | ec0f5036612107916dcfa0e4204add4df2c58282 | |
parent | 5180d8c3cb94fe5e83f969277696455354ccac8b (diff) | |
download | sphinx-67785d166cd86f16bd0a66ff4408ff56bba1b839.tar.gz |
Stop removing temporary test data after tests.
-rw-r--r-- | tests/test_websupport.py | 4 | ||||
-rw-r--r-- | tests/util.py | 1 |
2 files changed, 0 insertions, 5 deletions
diff --git a/tests/test_websupport.py b/tests/test_websupport.py index 9e88a60f..7126e7d2 100644 --- a/tests/test_websupport.py +++ b/tests/test_websupport.py @@ -34,10 +34,6 @@ default_settings = {'builddir': tempdir / 'websupport', 'warning': StringIO()} -def teardown_module(): - (tempdir / 'websupport').rmtree(True) - - def with_support(*args, **kwargs): """Make a WebSupport object and pass it the test.""" settings = default_settings.copy() diff --git a/tests/util.py b/tests/util.py index bf35d279..f2fbadd9 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 |