fix hanging test_xmlrpc

This commit is contained in:
Benjamin Peterson 2008-06-11 21:55:48 +00:00
parent 4f92ca4022
commit 1e637b7373

View file

@ -320,7 +320,7 @@ class SimpleServerTestCase(unittest.TestCase):
def tearDown(self):
# wait on the server thread to terminate
self.evt.wait(4.0)
if not self.evt.isSet():
if not self.evt.is_set():
self.evt.set()
stop_serving()
raise RuntimeError("timeout reached, test has failed")