Kaydet (Commit) 6da11e5f authored tarafından Giampaolo Rodolà's avatar Giampaolo Rodolà

fix wrong assertIs context

üst a67299e7
......@@ -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()
......
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