Commits

Jason R. Coombs  committed a5d2fc1

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

  • Participants
  • Parent commits f5ce91c

Comments (0)

Files changed (1)

File setuptools/tests/test_upload_docs.py

             zip_file = zipfile.ZipFile(tmp_file) # woh...
 
             assert zip_file.namelist() == ['index.html']
+
+            zip_file.close()
         finally:
             shutil.rmtree(tmp_dir)