aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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)