fix wrong assertIs context

This commit is contained in:
Giampaolo Rodolà 2010-05-26 18:21:26 +00:00
parent a67299e757
commit 6da11e5fce
1 changed files with 1 additions and 1 deletions

View File

@ -738,7 +738,7 @@ class TestTLS_FTPClass(TestCase):
self.client.prot_p()
sock = self.client.transfercmd('list')
self.assertIs(self.client.sock.context, ctx)
self.assertIs(sock.context, ctx)
self.assertIsInstance(sock, ssl.SSLSocket)
sock.close()