summaryrefslogtreecommitdiff
path: root/tests/test_setup_command.py
diff options
context:
space:
mode:
authorTakayuki Shimizukawa <shimizukawa@gmail.com>2013-12-08 16:58:34 +0900
committerTakayuki Shimizukawa <shimizukawa@gmail.com>2013-12-08 16:58:34 +0900
commit6432f6534797fa2b06ab6c8c9a089d1a4d23cf99 (patch)
tree5ba0faa000d47728dbebd25c36a431ce1f4e9b52 /tests/test_setup_command.py
parentec623034cc2c3b6f180a4ead360ddd3ce21fff07 (diff)
downloadsphinx-git-6432f6534797fa2b06ab6c8c9a089d1a4d23cf99.tar.gz
fix test error; can't remove empty directory problem on Windows.
Diffstat (limited to 'tests/test_setup_command.py')
-rw-r--r--tests/test_setup_command.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_setup_command.py b/tests/test_setup_command.py
index 7bdd19010..f32d6abcd 100644
--- a/tests/test_setup_command.py
+++ b/tests/test_setup_command.py
@@ -49,7 +49,7 @@ def with_setup_command(root, *args, **kwds):
stderr=subprocess.PIPE)
func(pkgrootdir, proc, *args, **kwds)
finally:
- tempdir.rmtree()
+ tempdir.rmtree(ignore_errors=True)
os.chdir(cwd)
return deco
return generator