Commit 42d0bc22 authored by Jason R. Coombs's avatar Jason R. Coombs

Rename variable for clarity.

parent 02b5adcc
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment