summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorGiampaolo RodolĂ  <g.rodola@gmail.com>2010-05-26 18:21:26 (GMT)
committerGiampaolo RodolĂ  <g.rodola@gmail.com>2010-05-26 18:21:26 (GMT)
commit6da11e5fce42f7e79c93b5e523d1be03bdc7182e (patch)
tree250cafdc61b7da43a12b70e32f663a47636b087e /Lib
parenta67299e757b69660ec932e4da0a7dd4bfc680f08 (diff)
downloadcpython-6da11e5fce42f7e79c93b5e523d1be03bdc7182e.zip
cpython-6da11e5fce42f7e79c93b5e523d1be03bdc7182e.tar.gz
cpython-6da11e5fce42f7e79c93b5e523d1be03bdc7182e.tar.bz2
fix wrong assertIs context
Diffstat (limited to 'Lib')
-rw-r--r--Lib/test/test_ftplib.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_ftplib.py b/Lib/test/test_ftplib.py
index 9dc06cd..c8d0d88 100644
--- a/Lib/test/test_ftplib.py
+++ b/Lib/test/test_ftplib.py
@@ -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()