aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/tests/test_easy_install.py
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2014-12-29 14:06:05 -0500
committerJason R. Coombs <jaraco@jaraco.com>2014-12-29 14:06:05 -0500
commit42d0bc2269e6a1ddfb056e70b95712ad31401c89 (patch)
tree87d94be2aa2999d47f58a803587abc58aa12b252 /setuptools/tests/test_easy_install.py
parent02b5adcc7ff26f6eaf024ec46f22b0c26c8f9c0b (diff)
downloadexternal_python_setuptools-42d0bc2269e6a1ddfb056e70b95712ad31401c89.tar.gz
external_python_setuptools-42d0bc2269e6a1ddfb056e70b95712ad31401c89.tar.bz2
external_python_setuptools-42d0bc2269e6a1ddfb056e70b95712ad31401c89.zip
Rename variable for clarity.
Diffstat (limited to 'setuptools/tests/test_easy_install.py')
-rw-r--r--setuptools/tests/test_easy_install.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/setuptools/tests/test_easy_install.py b/setuptools/tests/test_easy_install.py
index 3659d53f..6358c934 100644
--- a/setuptools/tests/test_easy_install.py
+++ b/setuptools/tests/test_easy_install.py
@@ -435,10 +435,10 @@ def reset_setup_stop_context():
within those tests, it's necessary to reset the global variable
in distutils.core so that the setup() command will run naturally.
"""
- setup_stop_after = distutils.core._setup_stop_after
+ saved = distutils.core._setup_stop_after
distutils.core._setup_stop_after = None
yield
- distutils.core._setup_stop_after = setup_stop_after
+ distutils.core._setup_stop_after = saved
@contextlib.contextmanager