summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordavid <david.genest@ubisoft.com>2014-06-25 10:47:59 -0400
committerdavid <david.genest@ubisoft.com>2014-06-25 10:47:59 -0400
commit5d58d955b5f5dcafe6ec624b82b327ce1fe9bbfd (patch)
tree50c2dae8f2b933c9ae10217057ebaad343242553
parentfbf309d3e3b529f6ff0d57ecbb22514755b1154d (diff)
downloadpython-setuptools-git-5d58d955b5f5dcafe6ec624b82b327ce1fe9bbfd.tar.gz
fix failing integration (test_stevedore) test on windows because of an unreleased handle on the current directory
-rw-r--r--setuptools/tests/test_integration.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/setuptools/tests/test_integration.py b/setuptools/tests/test_integration.py
index 7144aa6c..8d6c1e55 100644
--- a/setuptools/tests/test_integration.py
+++ b/setuptools/tests/test_integration.py
@@ -25,6 +25,9 @@ def install_context(request, tmpdir, monkeypatch):
install_dir = tmpdir.mkdir('install_dir')
def fin():
+ # undo the monkeypatch, particularly needed under
+ # windows because of kept handle on cwd
+ monkeypatch.undo()
new_cwd.remove()
user_base.remove()
user_site.remove()