summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_asyncio/test_events.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2016-09-09 21:26:31 (GMT)
committerGuido van Rossum <guido@python.org>2016-09-09 21:26:31 (GMT)
commit7b3b3dc85da3ec176d7fd7caa546298c232c9c0a (patch)
tree045958462b64c3f8c393c3cc05131c03ceb43aef /Lib/test/test_asyncio/test_events.py
parent9b32bda851c113cf4a85cdc01c603a1daba4d5d4 (diff)
downloadcpython-7b3b3dc85da3ec176d7fd7caa546298c232c9c0a.zip
cpython-7b3b3dc85da3ec176d7fd7caa546298c232c9c0a.tar.gz
cpython-7b3b3dc85da3ec176d7fd7caa546298c232c9c0a.tar.bz2
Merge asyncio upstream.
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)