diff options
author | Takayuki Shimizukawa <shimizukawa@gmail.com> | 2013-12-08 16:58:34 +0900 |
---|---|---|
committer | Takayuki Shimizukawa <shimizukawa@gmail.com> | 2013-12-08 16:58:34 +0900 |
commit | 6432f6534797fa2b06ab6c8c9a089d1a4d23cf99 (patch) | |
tree | 5ba0faa000d47728dbebd25c36a431ce1f4e9b52 /tests/test_setup_command.py | |
parent | ec623034cc2c3b6f180a4ead360ddd3ce21fff07 (diff) | |
download | sphinx-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.py | 2 |
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 |