From 89c2ef6178ac40be35a332d81aaae4616e0aab4b Mon Sep 17 00:00:00 2001 From: Ben Darnell Date: Sat, 17 Jan 2015 16:43:37 -0500 Subject: [PATCH] Fix another unexamined Future --- tornado/test/iostream_test.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tornado/test/iostream_test.py b/tornado/test/iostream_test.py index 2a7e74b31..973b0e7bf 100644 --- a/tornado/test/iostream_test.py +++ b/tornado/test/iostream_test.py @@ -892,13 +892,15 @@ class TestIOStreamStartTLS(AsyncTestCase): # Test that server_hostname parameter to start_tls is being used. # The check_hostname functionality is only available in python 2.7 and # up and in python 3.4 and up. - self.server_start_tls(_server_ssl_options()) + server_future = self.server_start_tls(_server_ssl_options()) client_future = self.client_start_tls( ssl.create_default_context(), server_hostname=b'127.0.0.1') with ExpectLog(gen_log, "SSL Error"): with self.assertRaises(ssl.SSLError): yield client_future + with self.assertRaises(ssl.SSLError): + yield server_future @skipIfNonUnix -- 2.47.3