diff options
| author | Jason R. Coombs <jaraco@jaraco.com> | 2015-01-01 23:47:12 -0500 |
|---|---|---|
| committer | Jason R. Coombs <jaraco@jaraco.com> | 2015-01-01 23:47:12 -0500 |
| commit | bb7a25abe65fba3fa3e8ae3973321f1fedab8e37 (patch) | |
| tree | 031ee2eb68fb43e29f1f4d1e110f24285315654a /setuptools/tests/fixtures.py | |
| parent | 0b799319a7360bbf2497c037188217334346ba39 (diff) | |
| download | python-setuptools-git-bb7a25abe65fba3fa3e8ae3973321f1fedab8e37.tar.gz | |
Also save the ENABLE_USER_SITE setting in the user_override.
Diffstat (limited to 'setuptools/tests/fixtures.py')
| -rw-r--r-- | setuptools/tests/fixtures.py | 3 |
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 |
