diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2010-11-09 23:10:33 (GMT) |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2010-11-09 23:10:33 (GMT) |
commit | d79f3c8b3a544de869e01d8f229f114d7eb2dfa8 (patch) | |
tree | 5f0bbdb7c1d1b0255829f36309f43a267eb640c3 /Lib/test/test_imaplib.py | |
parent | b1436f185dac249f0f6dc342b2a543ae2d1db63d (diff) | |
download | cpython-d79f3c8b3a544de869e01d8f229f114d7eb2dfa8.zip cpython-d79f3c8b3a544de869e01d8f229f114d7eb2dfa8.tar.gz cpython-d79f3c8b3a544de869e01d8f229f114d7eb2dfa8.tar.bz2 |
Issue #4471: Properly shutdown socket in IMAP.shutdown(). Patch by
Lorenzo M. Catucci.
Diffstat (limited to 'Lib/test/test_imaplib.py')
-rw-r--r-- | Lib/test/test_imaplib.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/test/test_imaplib.py b/Lib/test/test_imaplib.py index 8d86ce6..351659d 100644 --- a/Lib/test/test_imaplib.py +++ b/Lib/test/test_imaplib.py @@ -217,6 +217,7 @@ class RemoteIMAPTest(unittest.TestCase): def test_logout(self): rs = self.server.logout() + self.server = None self.assertEqual(rs[0], 'BYE') |