diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2014-02-19 17:32:03 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2014-02-19 17:32:03 (GMT) |
commit | 4ac30f17925bc5dc283cd638a43b9ecde95b63a9 (patch) | |
tree | 8649b4be1a9bc710606b915a810f9f231ee67f27 /Lib/test | |
parent | 8c33ffd9b67abfbf2044979860df03c2ed7fb221 (diff) | |
download | cpython-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.py | 2 |
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) |