[Python-checkins] r81550 - python/branches/py3k/Lib/test/test_ftplib.py
giampaolo.rodola
python-checkins at python.org
Wed May 26 20:21:26 CEST 2010
Author: giampaolo.rodola
Date: Wed May 26 20:21:26 2010
New Revision: 81550
Log:
fix wrong assertIs context
Modified:
python/branches/py3k/Lib/test/test_ftplib.py
Modified: python/branches/py3k/Lib/test/test_ftplib.py
==============================================================================
--- python/branches/py3k/Lib/test/test_ftplib.py (original)
+++ python/branches/py3k/Lib/test/test_ftplib.py Wed May 26 20:21:26 2010
@@ -738,7 +738,7 @@
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()
More information about the Python-checkins
mailing list