summaryrefslogtreecommitdiff
path: root/tests/test_selector_events.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_selector_events.py')
-rw-r--r--tests/test_selector_events.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/test_selector_events.py b/tests/test_selector_events.py
index f99d04d..ad86ada 100644
--- a/tests/test_selector_events.py
+++ b/tests/test_selector_events.py
@@ -1180,6 +1180,8 @@ class SelectorSslTransportTests(test_utils.TestCase):
self.sslsock.do_handshake.side_effect = exc
with test_utils.disable_logger():
transport._on_handshake(0)
+ transport.close()
+ test_utils.run_briefly(self.loop)
def test_pause_resume_reading(self):
tr = self._make_one()