summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_socketserver.py
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2008-06-11 17:27:50 (GMT)
committerBenjamin Peterson <benjamin@python.org>2008-06-11 17:27:50 (GMT)
commit0fbcf6945584b1b2a7564680de50c062fc4dce1c (patch)
tree44d27858990999b69379b50abc5ad163789db6fc /Lib/test/test_socketserver.py
parent32c2e41c82c2d0f967a0f435f88168583218f262 (diff)
downloadcpython-0fbcf6945584b1b2a7564680de50c062fc4dce1c.zip
cpython-0fbcf6945584b1b2a7564680de50c062fc4dce1c.tar.gz
cpython-0fbcf6945584b1b2a7564680de50c062fc4dce1c.tar.bz2
give the threading API PEP 8 names
Diffstat (limited to 'Lib/test/test_socketserver.py')
-rw-r--r--Lib/test/test_socketserver.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_socketserver.py b/Lib/test/test_socketserver.py
index 8595e5a..f6de8fa 100644
--- a/Lib/test/test_socketserver.py
+++ b/Lib/test/test_socketserver.py
@@ -139,7 +139,7 @@ class SocketServerTest(unittest.TestCase):
# Time between requests is short enough that we won't wake
# up spuriously too many times.
kwargs={'poll_interval':0.01})
- t.setDaemon(True) # In case this function raises.
+ t.set_daemon(True) # In case this function raises.
t.start()
if verbose: print "server running"
for i in range(3):