diff options
author | Jason R. Coombs <jaraco@jaraco.com> | 2012-10-21 03:38:07 -0400 |
---|---|---|
committer | Jason R. Coombs <jaraco@jaraco.com> | 2012-10-21 03:38:07 -0400 |
commit | 152931a9f0fc509eab7d3c10934f6d3137651104 (patch) | |
tree | 5f937f4bd9a9d0eb01708be52b957b57c28360e2 /setuptools/tests/test_upload_docs.py | |
parent | c586b38480483bcfa87761e859d69a732f170374 (diff) | |
download | external_python_setuptools-152931a9f0fc509eab7d3c10934f6d3137651104.tar.gz external_python_setuptools-152931a9f0fc509eab7d3c10934f6d3137651104.tar.bz2 external_python_setuptools-152931a9f0fc509eab7d3c10934f6d3137651104.zip |
Fix failing test case on Windows (can't rmtree if a file is open in that tree)
--HG--
branch : distribute
extra : rebase_source : 99e78b88c18007b410c0be28237db8341413e334
Diffstat (limited to 'setuptools/tests/test_upload_docs.py')
-rw-r--r-- | setuptools/tests/test_upload_docs.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/setuptools/tests/test_upload_docs.py b/setuptools/tests/test_upload_docs.py index fddb755d..769f16cc 100644 --- a/setuptools/tests/test_upload_docs.py +++ b/setuptools/tests/test_upload_docs.py @@ -65,6 +65,8 @@ class TestUploadDocsTest(unittest.TestCase): zip_file = zipfile.ZipFile(tmp_file) # woh... assert zip_file.namelist() == ['index.html'] + + zip_file.close() finally: shutil.rmtree(tmp_dir) |