commit | 6da11e5fce42f7e79c93b5e523d1be03bdc7182e | [log] [tgz] |
---|---|---|
author | Giampaolo RodolĂ <g.rodola@gmail.com> | Wed May 26 18:21:26 2010 +0000 |
committer | Giampaolo RodolĂ <g.rodola@gmail.com> | Wed May 26 18:21:26 2010 +0000 |
tree | 250cafdc61b7da43a12b70e32f663a47636b087e | |
parent | a67299e757b69660ec932e4da0a7dd4bfc680f08 [diff] |
fix wrong assertIs context
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 @@ 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()