diff options
author | Jason R. Coombs <jaraco@jaraco.com> | 2014-12-30 10:39:34 -0500 |
---|---|---|
committer | Jason R. Coombs <jaraco@jaraco.com> | 2014-12-30 10:39:34 -0500 |
commit | 3967fa33dcd84a1ae365961774cd54848bb27900 (patch) | |
tree | b3666d4070a1e0238af352772b77dab70ab584b9 /setuptools/tests/test_easy_install.py | |
parent | 2376cb11cd1383622c97e52006ccabf12c78fffe (diff) | |
download | external_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.py | 8 |
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) |