diff options
-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() |