diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2013-12-09 00:15:10 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2013-12-09 00:15:10 (GMT) |
commit | 28dd6deca8afd79cd8c33731f01c108dd11257ab (patch) | |
tree | b80873cb3d8a311eefd1317068710baa2423bad3 | |
parent | 8622ac3ce25c636bc4056c5e7f7518594b8bba9b (diff) | |
download | cpython-28dd6deca8afd79cd8c33731f01c108dd11257ab.zip cpython-28dd6deca8afd79cd8c33731f01c108dd11257ab.tar.gz cpython-28dd6deca8afd79cd8c33731f01c108dd11257ab.tar.bz2 |
Fix #19830: Fix a ResourceWarning in test_poplib.
Patch written by Vajrasky Kok.
-rw-r--r-- | Lib/test/test_poplib.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_poplib.py b/Lib/test/test_poplib.py index 31f8a3c..eac77aa 100644 --- a/Lib/test/test_poplib.py +++ b/Lib/test/test_poplib.py @@ -421,7 +421,7 @@ class TestPOP3_TLSClass(TestPOP3Class): # happens in the test_too_long_lines case; the overlong # response will be treated as response to QUIT and raise # this exception - pass + self.client.close() self.server.stop() def test_stls(self): |