fix wrong assertIs context
This commit is contained in:
parent
a67299e757
commit
6da11e5fce
|
@ -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()
|
||||
|
||||
|
|
Loading…
Reference in New Issue