Commit 152931a9 authored by Jason R. Coombs's avatar Jason R. Coombs

Fix failing test case on Windows (can't rmtree if a file is open in that tree)

--HG--
branch : distribute
extra : rebase_source : 99e78b88c18007b410c0be28237db8341413e334
parent c586b384
...@@ -65,6 +65,8 @@ class TestUploadDocsTest(unittest.TestCase): ...@@ -65,6 +65,8 @@ class TestUploadDocsTest(unittest.TestCase):
zip_file = zipfile.ZipFile(tmp_file) # woh... zip_file = zipfile.ZipFile(tmp_file) # woh...
assert zip_file.namelist() == ['index.html'] assert zip_file.namelist() == ['index.html']
zip_file.close()
finally: finally:
shutil.rmtree(tmp_dir) shutil.rmtree(tmp_dir)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment