mirror of
https://github.com/python/cpython.git
synced 2025-09-01 22:47:59 +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()
|
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()
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue