Source

CherryPy / cherrypy / test / test_states.py

Diff from to

cherrypy/test/test_states.py

 from cherrypy._cpcompat import BadStatusLine, ntob
 import os
 import sys
-import threading
 import time
 
 import cherrypy
         target_line = open(p.error_log, 'rb').readlines()[-10]
         if not ntob("I am an old SIGTERM handler.") in target_line:
             self.fail("Old SIGTERM handler did not run.\n%r" % target_line)
-