commit | 1bd93a754fc0f9a801c982ab1bb3a8ee0d9d77b6 | [log] [tgz] |
---|---|---|
author | Benjamin Peterson <benjamin@python.org> | Sun Oct 31 19:58:07 2010 +0000 |
committer | Benjamin Peterson <benjamin@python.org> | Sun Oct 31 19:58:07 2010 +0000 |
tree | d7cf15e200fec3679b5967e21c51a682e70ffb77 | |
parent | d5df36d378054b0c9bcd5ac0f26e2c3786ffd30c [diff] |
fix ftplib resource warnings
diff --git a/Lib/test/test_ftplib.py b/Lib/test/test_ftplib.py index a7ea254..9d2eab7 100644 --- a/Lib/test/test_ftplib.py +++ b/Lib/test/test_ftplib.py
@@ -355,6 +355,8 @@ if (isinstance(self.socket, ssl.SSLSocket) and self.socket._sslobj is not None): self._do_ssl_shutdown() + else: + super(SSLConnection, self).close() class DummyTLS_DTPHandler(SSLConnection, DummyDTPHandler):