summaryrefslogtreecommitdiffstats
path: root/Lib/test
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2008-06-11 21:55:48 (GMT)
committerBenjamin Peterson <benjamin@python.org>2008-06-11 21:55:48 (GMT)
commit1e637b7373c6a183524b2bfa16d7702ef451e632 (patch)
tree3d5f426e09801cd7b91d9c5d4689f3e75cb8ed3e /Lib/test
parent4f92ca4022cfde233b1c9773c147f169a6237d9a (diff)
downloadcpython-1e637b7373c6a183524b2bfa16d7702ef451e632.zip
cpython-1e637b7373c6a183524b2bfa16d7702ef451e632.tar.gz
cpython-1e637b7373c6a183524b2bfa16d7702ef451e632.tar.bz2
fix hanging test_xmlrpc
Diffstat (limited to 'Lib/test')
-rw-r--r--Lib/test/test_xmlrpc.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_xmlrpc.py b/Lib/test/test_xmlrpc.py
index 8325496..b9103fa 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")