aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/tests/test_easy_install.py
diff options
context:
space:
mode:
authorVinay Sajip <vinay_sajip@yahoo.co.uk>2012-10-10 10:49:54 +0100
committerVinay Sajip <vinay_sajip@yahoo.co.uk>2012-10-10 10:49:54 +0100
commit94fc39cb62df19e85b07658f2fa5d0b4a7bf9303 (patch)
tree1c44a301f7eb2662ccc03f97685b449e2251069e /setuptools/tests/test_easy_install.py
parente3f7235a944f5758780de74aac548e27a09e39a3 (diff)
downloadexternal_python_setuptools-94fc39cb62df19e85b07658f2fa5d0b4a7bf9303.tar.gz
external_python_setuptools-94fc39cb62df19e85b07658f2fa5d0b4a7bf9303.tar.bz2
external_python_setuptools-94fc39cb62df19e85b07658f2fa5d0b4a7bf9303.zip
Fixed some resource leaks.
--HG-- branch : distribute extra : source : 98c929e25fee11a99eb125dd9a13521321d68dd3
Diffstat (limited to 'setuptools/tests/test_easy_install.py')
-rw-r--r--setuptools/tests/test_easy_install.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/setuptools/tests/test_easy_install.py b/setuptools/tests/test_easy_install.py
index aab4b617..34faeaad 100644
--- a/setuptools/tests/test_easy_install.py
+++ b/setuptools/tests/test_easy_install.py
@@ -233,7 +233,7 @@ class TestUserInstallTest(unittest.TestCase):
f = open(egg_file, 'w')
try:
f.write('Name: foo\n')
- except:
+ finally:
f.close()
sys.path.append(target)