1. Tarek Ziadé
  2. distribute

Commits

Jason R. Coombs  committed ecb948a

Don't suppress SystemExit when running tests; Fixes #336

  • Participants
  • Parent commits 12849ea
  • Branches default

Comments (0)

Files changed (1)

File setup.py

View file
  • Ignore whitespace
         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)