From 5d58d955b5f5dcafe6ec624b82b327ce1fe9bbfd Mon Sep 17 00:00:00 2001 From: david Date: Wed, 25 Jun 2014 10:47:59 -0400 Subject: fix failing integration (test_stevedore) test on windows because of an unreleased handle on the current directory --- setuptools/tests/test_integration.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'setuptools/tests/test_integration.py') 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() -- cgit v1.2.1