diff options
author | Benjamin Peterson <benjamin@python.org> | 2008-06-11 22:55:41 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2008-06-11 22:55:41 (GMT) |
commit | 502d89ed1518687861563293cb761d268321fa4a (patch) | |
tree | 9620aaf4241f8cab0a7b3fbb5ceeaf6db0cb74da /Lib | |
parent | cc313061a5b45c12e9772e2f9f2ae623fc00e31d (diff) | |
download | cpython-502d89ed1518687861563293cb761d268321fa4a.zip cpython-502d89ed1518687861563293cb761d268321fa4a.tar.gz cpython-502d89ed1518687861563293cb761d268321fa4a.tar.bz2 |
fix test_ssl
Diffstat (limited to 'Lib')
-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) |