summaryrefslogtreecommitdiff
path: root/setuptools/tests/test_easy_install.py
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2015-02-03 22:28:29 +0400
committerJason R. Coombs <jaraco@jaraco.com>2015-02-03 22:28:29 +0400
commit492758aff46622fb93845f96b9062dab029064f4 (patch)
tree32f9f15232171b94e9dd0ca36cfd4d700bbc0d7a /setuptools/tests/test_easy_install.py
parentfae9ca36955cdaebb81936bb54c3e9e44b5e6928 (diff)
downloadpython-setuptools-git-492758aff46622fb93845f96b9062dab029064f4.tar.gz
Re-use context available in sandbox.
Diffstat (limited to 'setuptools/tests/test_easy_install.py')
-rw-r--r--setuptools/tests/test_easy_install.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/setuptools/tests/test_easy_install.py b/setuptools/tests/test_easy_install.py
index 4331d30e..b9b2e392 100644
--- a/setuptools/tests/test_easy_install.py
+++ b/setuptools/tests/test_easy_install.py
@@ -312,7 +312,7 @@ class TestSetupRequires:
'--install-dir', temp_install_dir,
dist_file,
]
- with contexts.argv(['easy_install']):
+ with sandbox.save_argv(['easy_install']):
# attempt to install the dist. It should fail because
# it doesn't exist.
with pytest.raises(SystemExit):