summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Lib/test/test_ssl.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/test/test_ssl.py b/Lib/test/test_ssl.py
index d786154..b05b17e 100644
--- a/Lib/test/test_ssl.py
+++ b/Lib/test/test_ssl.py
@@ -386,6 +386,7 @@ else:
self.send(data.lower())
def handle_close(self):
+ self.close()
if test_support.verbose:
sys.stdout.write(" server: closed connection %s\n" % self.socket)