aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/tests/test_integration.py
diff options
context:
space:
mode:
Diffstat (limited to 'setuptools/tests/test_integration.py')
-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()