]> granicus.if.org Git - python/commitdiff
fix hanging test_xmlrpc
authorBenjamin Peterson <benjamin@python.org>
Wed, 11 Jun 2008 21:55:48 +0000 (21:55 +0000)
committerBenjamin Peterson <benjamin@python.org>
Wed, 11 Jun 2008 21:55:48 +0000 (21:55 +0000)
Lib/test/test_xmlrpc.py

index 8325496fd32167cab983047fc89291583225396f..b9103fa73c7dcd0728e25a62993958f0903e2c55 100644 (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")