Commits

Jason R. Coombs committed ecb948a

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

  • Participants
  • Parent commits 12849ea

Comments (0)

Files changed (1)

         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)