Commits

Robert Brewer committed 3edf100

Fixed e(X)it behavior in tests

  • Participants
  • Parent commits c259b1c

Comments (0)

Files changed (1)

cherrypy/test/__init__.py

 interactive input.
 """
 
+import os
 import sys
+
 def newexit():
-    raise SystemExit('Exit called')
+    os._exit(1)
 
 def setup():
     # We want to monkey patch sys.exit so that we can get some