From: Benjamin Peterson Date: Wed, 11 Jun 2008 21:55:48 +0000 (+0000) Subject: fix hanging test_xmlrpc X-Git-Tag: v3.0b1~92 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1e637b7373c6a183524b2bfa16d7702ef451e632;p=python fix hanging test_xmlrpc --- diff --git a/Lib/test/test_xmlrpc.py b/Lib/test/test_xmlrpc.py index 8325496fd3..b9103fa73c 100644 --- a/Lib/test/test_xmlrpc.py +++ b/Lib/test/test_xmlrpc.py @@ -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")