Commit 5ff28768 authored by Giampaolo Rodolà's avatar Giampaolo Rodolà

fix wrong assertIs context

parent 5a8431b3
...@@ -738,7 +738,7 @@ class TestTLS_FTPClass(TestCase): ...@@ -738,7 +738,7 @@ class TestTLS_FTPClass(TestCase):
self.client.prot_p() self.client.prot_p()
sock = self.client.transfercmd('list') sock = self.client.transfercmd('list')
self.assertIs(self.client.sock.context, ctx) self.assertIs(sock.context, ctx)
self.assertIsInstance(sock, ssl.SSLSocket) self.assertIsInstance(sock, ssl.SSLSocket)
sock.close() sock.close()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment