summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)