aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Lib/test/test_asyncio/test_sslproto.py
diff options
context:
space:
mode:
authorYury Selivanov <yury@magic.io>2016-09-11 21:11:19 -0400
committerYury Selivanov <yury@magic.io>2016-09-11 21:11:19 -0400
commit966321e236548e056b2566ae24f60a2a7cfc2511 (patch)
tree234e9714a7b333b87f79ff734e7de15a56968d5a /Lib/test/test_asyncio/test_sslproto.py
parent0b51fd434156f19aaf9a34f273a55f62047dc1a6 (diff)
parenta05a6ef1ca781e2f98fb4332284aca649f24f75d (diff)
downloadcpython-966321e236548e056b2566ae24f60a2a7cfc2511.tar.gz
cpython-966321e236548e056b2566ae24f60a2a7cfc2511.zip
Merge 3.5 (asyncio)
Diffstat (limited to 'Lib/test/test_asyncio/test_sslproto.py')
-rw-r--r--Lib/test/test_asyncio/test_sslproto.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/test/test_asyncio/test_sslproto.py b/Lib/test/test_asyncio/test_sslproto.py
index 8d5233565e4..7dfa6c2c63b 100644
--- a/Lib/test/test_asyncio/test_sslproto.py
+++ b/Lib/test/test_asyncio/test_sslproto.py
@@ -25,6 +25,7 @@ class SslProtoHandshakeTests(test_utils.TestCase):
sslcontext = test_utils.dummy_ssl_context()
app_proto = asyncio.Protocol()
proto = sslproto.SSLProtocol(self.loop, app_proto, sslcontext, waiter)
+ self.assertIs(proto._app_transport.get_protocol(), app_proto)
self.addCleanup(proto._app_transport.close)
return proto