summaryrefslogtreecommitdiffstats
path: root/Lib/test
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2014-02-19 17:32:03 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2014-02-19 17:32:03 (GMT)
commit4ac30f17925bc5dc283cd638a43b9ecde95b63a9 (patch)
tree8649b4be1a9bc710606b915a810f9f231ee67f27 /Lib/test
parent8c33ffd9b67abfbf2044979860df03c2ed7fb221 (diff)
downloadcpython-4ac30f17925bc5dc283cd638a43b9ecde95b63a9.zip
cpython-4ac30f17925bc5dc283cd638a43b9ecde95b63a9.tar.gz
cpython-4ac30f17925bc5dc283cd638a43b9ecde95b63a9.tar.bz2
Issue #20682: Oops, fix test_create_connection() of test_asyncio (fix my previous commit)
Diffstat (limited to 'Lib/test')
-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 36bb93a..3720cc7 100644
--- a/Lib/test/test_asyncio/test_events.py
+++ b/Lib/test/test_asyncio/test_events.py
@@ -509,7 +509,7 @@ class EventLoopTestsMixin:
self.loop.run_forever()
self.assertEqual(caught, 1)
- def _basetest_create_connection(self, connection_fut, check_sockname):
+ def _basetest_create_connection(self, connection_fut, check_sockname=True):
tr, pr = self.loop.run_until_complete(connection_fut)
self.assertIsInstance(tr, asyncio.Transport)
self.assertIsInstance(pr, asyncio.Protocol)