cherrypy.test 源代码
"""
Regression test suite for CherryPy.
"""
import os
import sys
[文档]def setup():
# We want to monkey patch sys.exit so that we can get some
# information about where exit is being called.
newexit._old = sys.exit
sys.exit = newexit