summaryrefslogtreecommitdiffstats
path: root/Lib/test
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2013-12-09 00:15:10 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2013-12-09 00:15:10 (GMT)
commit28dd6deca8afd79cd8c33731f01c108dd11257ab (patch)
treeb80873cb3d8a311eefd1317068710baa2423bad3 /Lib/test
parent8622ac3ce25c636bc4056c5e7f7518594b8bba9b (diff)
downloadcpython-28dd6deca8afd79cd8c33731f01c108dd11257ab.zip
cpython-28dd6deca8afd79cd8c33731f01c108dd11257ab.tar.gz
cpython-28dd6deca8afd79cd8c33731f01c108dd11257ab.tar.bz2
Fix #19830: Fix a ResourceWarning in test_poplib.
Patch written by Vajrasky Kok.
Diffstat (limited to 'Lib/test')
-rw-r--r--Lib/test/test_poplib.py2
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):