[Neo-report] r2607 gregory - /trunk/neo/tests/functional/__init__.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Tue Jan 11 14:59:11 CET 2011
Author: gregory
Date: Tue Jan 11 14:59:11 2011
New Revision: 2607
Log:
Avoid a fork-bomb while running tests.
Modified:
trunk/neo/tests/functional/__init__.py
Modified: trunk/neo/tests/functional/__init__.py
==============================================================================
--- trunk/neo/tests/functional/__init__.py [iso-8859-1] (original)
+++ trunk/neo/tests/functional/__init__.py [iso-8859-1] Tue Jan 11 14:59:11 2011
@@ -89,7 +89,7 @@ class NEOProcess(object):
def _exit(self, status=0):
sys.stdout = sys.stderr = open('/dev/null', 'w')
- sys.exit(status)
+ raise KeyboardInterrupt
def kill(self, sig=signal.SIGTERM):
if self.pid:
More information about the Neo-report
mailing list