aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/tests/test_easy_install.py
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2014-12-30 10:39:34 -0500
committerJason R. Coombs <jaraco@jaraco.com>2014-12-30 10:39:34 -0500
commit3967fa33dcd84a1ae365961774cd54848bb27900 (patch)
treeb3666d4070a1e0238af352772b77dab70ab584b9 /setuptools/tests/test_easy_install.py
parent2376cb11cd1383622c97e52006ccabf12c78fffe (diff)
downloadexternal_python_setuptools-3967fa33dcd84a1ae365961774cd54848bb27900.tar.gz
external_python_setuptools-3967fa33dcd84a1ae365961774cd54848bb27900.tar.bz2
external_python_setuptools-3967fa33dcd84a1ae365961774cd54848bb27900.zip
Please don't feign a monkey patch when one isn't used.
Diffstat (limited to 'setuptools/tests/test_easy_install.py')
-rw-r--r--setuptools/tests/test_easy_install.py8
1 files changed, 2 insertions, 6 deletions
diff --git a/setuptools/tests/test_easy_install.py b/setuptools/tests/test_easy_install.py
index 053b6971..95b3fead 100644
--- a/setuptools/tests/test_easy_install.py
+++ b/setuptools/tests/test_easy_install.py
@@ -81,12 +81,8 @@ class TestEasyInstallTest(unittest.TestCase):
def test_get_script_args(self):
dist = FakeDist()
- old_platform = sys.platform
- try:
- args = next(get_script_args(dist))
- name, script = itertools.islice(args, 2)
- finally:
- sys.platform = old_platform
+ args = next(get_script_args(dist))
+ name, script = itertools.islice(args, 2)
self.assertEqual(script, WANTED)