From 502d89ed1518687861563293cb761d268321fa4a Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Wed, 11 Jun 2008 22:55:41 +0000 Subject: fix test_ssl --- Lib/test/test_ssl.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Lib/test/test_ssl.py b/Lib/test/test_ssl.py index ea3efd6..33419fe 100644 --- a/Lib/test/test_ssl.py +++ b/Lib/test/test_ssl.py @@ -201,7 +201,7 @@ else: self.sock.setblocking(1) self.sslconn = None threading.Thread.__init__(self) - self.setDaemon(True) + self.set_daemon(True) def wrap_conn (self): try: @@ -317,7 +317,7 @@ else: self.flag = None self.active = False threading.Thread.__init__(self) - self.setDaemon(False) + self.set_daemon(False) def start (self, flag=None): self.flag = flag @@ -473,7 +473,7 @@ else: self.server = self.HTTPSServer( (HOST, self.port), self.RootedHTTPRequestHandler, certfile) threading.Thread.__init__(self) - self.setDaemon(True) + self.set_daemon(True) def __str__(self): return "<%s %s>" % (self.__class__.__name__, self.server) @@ -558,7 +558,7 @@ else: self.port = support.find_unused_port() self.server = self.EchoServer(self.port, certfile) threading.Thread.__init__(self) - self.setDaemon(True) + self.set_daemon(True) def __str__(self): return "<%s %s>" % (self.__class__.__name__, self.server) -- cgit v0.12