[Python-3000-checkins] r64151 - python/branches/py3k/Lib/test/test_xmlrpc.py

benjamin.peterson python-3000-checkins at python.org
Wed Jun 11 23:55:49 CEST 2008


Author: benjamin.peterson
Date: Wed Jun 11 23:55:48 2008
New Revision: 64151

Log:
fix hanging test_xmlrpc


Modified:
   python/branches/py3k/Lib/test/test_xmlrpc.py

Modified: python/branches/py3k/Lib/test/test_xmlrpc.py
==============================================================================
--- python/branches/py3k/Lib/test/test_xmlrpc.py	(original)
+++ python/branches/py3k/Lib/test/test_xmlrpc.py	Wed Jun 11 23:55:48 2008
@@ -320,7 +320,7 @@
     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")


More information about the Python-3000-checkins mailing list