diff options
author | Jason R. Coombs <jaraco@jaraco.com> | 2015-02-03 22:28:29 +0400 |
---|---|---|
committer | Jason R. Coombs <jaraco@jaraco.com> | 2015-02-03 22:28:29 +0400 |
commit | 492758aff46622fb93845f96b9062dab029064f4 (patch) | |
tree | 32f9f15232171b94e9dd0ca36cfd4d700bbc0d7a /setuptools/tests/contexts.py | |
parent | fae9ca36955cdaebb81936bb54c3e9e44b5e6928 (diff) | |
download | external_python_setuptools-492758aff46622fb93845f96b9062dab029064f4.tar.gz external_python_setuptools-492758aff46622fb93845f96b9062dab029064f4.tar.bz2 external_python_setuptools-492758aff46622fb93845f96b9062dab029064f4.zip |
Re-use context available in sandbox.
Diffstat (limited to 'setuptools/tests/contexts.py')
-rw-r--r-- | setuptools/tests/contexts.py | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/setuptools/tests/contexts.py b/setuptools/tests/contexts.py index 4a461765..1d29284b 100644 --- a/setuptools/tests/contexts.py +++ b/setuptools/tests/contexts.py @@ -49,14 +49,6 @@ def environment(**replacements): @contextlib.contextmanager -def argv(repl): - old_argv = sys.argv[:] - sys.argv[:] = repl - yield - sys.argv[:] = old_argv - - -@contextlib.contextmanager def quiet(): """ Redirect stdout/stderr to StringIO objects to prevent console output from |