aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/tests/fixtures.py
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2015-01-01 23:47:12 -0500
committerJason R. Coombs <jaraco@jaraco.com>2015-01-01 23:47:12 -0500
commitbb7a25abe65fba3fa3e8ae3973321f1fedab8e37 (patch)
tree031ee2eb68fb43e29f1f4d1e110f24285315654a /setuptools/tests/fixtures.py
parent0b799319a7360bbf2497c037188217334346ba39 (diff)
downloadexternal_python_setuptools-bb7a25abe65fba3fa3e8ae3973321f1fedab8e37.tar.gz
external_python_setuptools-bb7a25abe65fba3fa3e8ae3973321f1fedab8e37.tar.bz2
external_python_setuptools-bb7a25abe65fba3fa3e8ae3973321f1fedab8e37.zip
Also save the ENABLE_USER_SITE setting in the user_override.
Diffstat (limited to 'setuptools/tests/fixtures.py')
-rw-r--r--setuptools/tests/fixtures.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/setuptools/tests/fixtures.py b/setuptools/tests/fixtures.py
index 6b0e53f3..225c2ea3 100644
--- a/setuptools/tests/fixtures.py
+++ b/setuptools/tests/fixtures.py
@@ -13,4 +13,5 @@ def user_override():
with mock.patch('site.USER_BASE', user_base):
with contexts.tempdir() as user_site:
with mock.patch('site.USER_SITE', user_site):
- yield
+ with contexts.save_user_site_setting():
+ yield