Commit 3967fa33 authored by Jason R. Coombs's avatar Jason R. Coombs

Please don't feign a monkey patch when one isn't used.

parent 2376cb11
......@@ -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)
......
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