From 28dd6deca8afd79cd8c33731f01c108dd11257ab Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Mon, 9 Dec 2013 01:15:10 +0100 Subject: [PATCH] Fix #19830: Fix a ResourceWarning in test_poplib. Patch written by Vajrasky Kok. --- Lib/test/test_poplib.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/test/test_poplib.py b/Lib/test/test_poplib.py index 31f8a3c85c..eac77aa6ff 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): -- 2.40.0