diff options
-rw-r--r-- | Lib/test/test_ssl.py | 8 |
1 files 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) |