diff options
author | Benjamin Peterson <benjamin@python.org> | 2008-08-18 18:39:57 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2008-08-18 18:39:57 (GMT) |
commit | 26f521668a52d233597c713fd20a294437ad1c26 (patch) | |
tree | a367b049e97ddf82b6efe40ae1224ef1f32f9f72 | |
parent | 82aa2010229a9305cd95a1f66acd8a0f5986cb85 (diff) | |
download | cpython-26f521668a52d233597c713fd20a294437ad1c26.zip cpython-26f521668a52d233597c713fd20a294437ad1c26.tar.gz cpython-26f521668a52d233597c713fd20a294437ad1c26.tar.bz2 |
fix old API names in test_ssl
-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 fca8a57..05a9b57 100644 --- a/Lib/test/test_ssl.py +++ b/Lib/test/test_ssl.py @@ -200,7 +200,7 @@ else: self.sock.setblocking(1) self.sslconn = None threading.Thread.__init__(self) - self.setDaemon(True) + self.daemon = True def show_conn_details(self): if self.server.certreqs == ssl.CERT_REQUIRED: @@ -338,7 +338,7 @@ else: self.port = test_support.bind_port(self.sock) self.active = False threading.Thread.__init__(self) - self.setDaemon(False) + self.daemon = True def start (self, flag=None): self.flag = flag @@ -423,7 +423,7 @@ else: self.server = self.EchoServer(certfile) self.port = self.server.port threading.Thread.__init__(self) - self.setDaemon(True) + self.daemon = True def __str__(self): return "<%s %s>" % (self.__class__.__name__, self.server) @@ -567,7 +567,7 @@ else: self.server = self.HTTPSServer( (HOST, self.port), self.RootedHTTPRequestHandler, certfile) threading.Thread.__init__(self) - self.setDaemon(True) + self.daemon = True def __str__(self): return "<%s %s>" % (self.__class__.__name__, self.server) |