aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/tests/test_easy_install.py
diff options
context:
space:
mode:
Diffstat (limited to 'setuptools/tests/test_easy_install.py')
-rw-r--r--setuptools/tests/test_easy_install.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/setuptools/tests/test_easy_install.py b/setuptools/tests/test_easy_install.py
index 7ed0cd37..2f295b5c 100644
--- a/setuptools/tests/test_easy_install.py
+++ b/setuptools/tests/test_easy_install.py
@@ -236,7 +236,7 @@ class TestUserInstallTest(unittest.TestCase):
f = open(egg_file, 'w')
try:
f.write('Name: foo\n')
- except:
+ finally:
f.close()
sys.path.append(target)
@@ -387,7 +387,7 @@ class TestSetupRequires(unittest.TestCase):
lines = stdout.splitlines()
self.assertTrue(len(lines) > 0)
- self.assert_(lines[-1].strip(), 'test_pkg')
+ self.assertTrue(lines[-1].strip(), 'test_pkg')
try:
tempdir_context(setup_and_run)