diff options
author | Giampaolo RodolĂ <g.rodola@gmail.com> | 2010-05-26 18:21:26 (GMT) |
---|---|---|
committer | Giampaolo RodolĂ <g.rodola@gmail.com> | 2010-05-26 18:21:26 (GMT) |
commit | 6da11e5fce42f7e79c93b5e523d1be03bdc7182e (patch) | |
tree | 250cafdc61b7da43a12b70e32f663a47636b087e /Lib | |
parent | a67299e757b69660ec932e4da0a7dd4bfc680f08 (diff) | |
download | cpython-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.py | 2 |
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() |