Kaydet (Commit) 5fd730e0 authored tarafından Éric Araujo's avatar Éric Araujo

Of course, I forgot one file in r86223.

üst 89c0478c
...@@ -42,8 +42,10 @@ class InstallScriptsTestCase(support.TempdirManager, ...@@ -42,8 +42,10 @@ class InstallScriptsTestCase(support.TempdirManager,
def write_script(name, text): def write_script(name, text):
expected.append(name) expected.append(name)
f = open(os.path.join(source, name), "w") f = open(os.path.join(source, name), "w")
f.write(text) try:
f.close() f.write(text)
finally:
f.close()
write_script("script1.py", ("#! /usr/bin/env python2.3\n" write_script("script1.py", ("#! /usr/bin/env python2.3\n"
"# bogus script w/ Python sh-bang\n" "# bogus script w/ Python sh-bang\n"
......
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