From 152931a9f0fc509eab7d3c10934f6d3137651104 Mon Sep 17 00:00:00 2001 From: "Jason R. Coombs" Date: Sun, 21 Oct 2012 03:38:07 -0400 Subject: Fix failing test case on Windows (can't rmtree if a file is open in that tree) --HG-- branch : distribute extra : rebase_source : 99e78b88c18007b410c0be28237db8341413e334 --- setuptools/tests/test_upload_docs.py | 2 ++ 1 file changed, 2 insertions(+) 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) -- cgit v1.2.3