summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_asyncio/test_events.py
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2016-09-09 22:58:00 (GMT)
committerRaymond Hettinger <python@rcn.com>2016-09-09 22:58:00 (GMT)
commitf1024f74250d534d16a9970e5093b3b4e693b398 (patch)
tree84f2c7e4dbdc45b8236b641efdfbdf3db5c494bb /Lib/test/test_asyncio/test_events.py
parent3ceb573a720b8b9c9148135c64ba966fa37e3a92 (diff)
parent87dc4d61890b4ed1c74b1f5e7256b3aa2080a499 (diff)
downloadcpython-f1024f74250d534d16a9970e5093b3b4e693b398.zip
cpython-f1024f74250d534d16a9970e5093b3b4e693b398.tar.gz
cpython-f1024f74250d534d16a9970e5093b3b4e693b398.tar.bz2
merge
Diffstat (limited to 'Lib/test/test_asyncio/test_events.py')
-rw-r--r--Lib/test/test_asyncio/test_events.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_asyncio/test_events.py b/Lib/test/test_asyncio/test_events.py
index e742eb7..7c901f2 100644
--- a/Lib/test/test_asyncio/test_events.py
+++ b/Lib/test/test_asyncio/test_events.py
@@ -793,7 +793,7 @@ class EventLoopTestsMixin:
loop.connect_accepted_socket(
(lambda : proto), conn, ssl=server_ssl))
loop.run_forever()
- conn.close()
+ proto.transport.close()
lsock.close()
thread.join(1)