1. Mosab Ahmad
  2. CherryPy


Robert Brewer  committed 3edf100

Fixed e(X)it behavior in tests

  • Participants
  • Parent commits c259b1c
  • Branches default

Comments (0)

Files changed (1)

File cherrypy/test/__init__.py

View file
 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