aboutsummaryrefslogtreecommitdiffstats
path: root/setup.py
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2012-11-28 02:24:30 -0500
committerJason R. Coombs <jaraco@jaraco.com>2012-11-28 02:24:30 -0500
commit6cc077d10b69b24307198f494675f7ab9418f180 (patch)
treea02a2c56692194e829ef52a36b10a89f19ca7f93 /setup.py
parent11491404365ba925bb36935a9f7a14c1afe003cc (diff)
downloadexternal_python_setuptools-6cc077d10b69b24307198f494675f7ab9418f180.tar.gz
external_python_setuptools-6cc077d10b69b24307198f494675f7ab9418f180.tar.bz2
external_python_setuptools-6cc077d10b69b24307198f494675f7ab9418f180.zip
Don't suppress SystemExit when running tests; Fixes #336
--HG-- branch : distribute extra : rebase_source : f337a5cfc45c1303ef389334a58d1d8c65b95d93
Diffstat (limited to 'setup.py')
-rwxr-xr-xsetup.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/setup.py b/setup.py
index 4f7af025..d2c1ba2c 100755
--- a/setup.py
+++ b/setup.py
@@ -85,10 +85,8 @@ class test(_test):
entry_points = os.path.join('distribute.egg-info', 'entry_points.txt')
if not os.path.exists(entry_points):
- try:
- _test.run(self)
- finally:
- return
+ _test.run(self)
+ return # even though _test.run will raise SystemExit
f = open(entry_points)