mirror of
https://github.com/python/cpython.git
synced 2025-08-30 13:38:43 +00:00
fix wrong assertIs context
This commit is contained in:
parent
a67299e757
commit
6da11e5fce
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue