diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2014-02-19 18:32:03 +0100 |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2014-02-19 18:32:03 +0100 |
commit | eaeb623ae3f1f7ac516017851224c018cf0310f6 (patch) | |
tree | 8ced3ab507f6c0ec76c107186478bc9529799c30 | |
parent | df90ae69fee6f979e3aa92dd62304c3f8adf193f (diff) | |
download | cpython-git-eaeb623ae3f1f7ac516017851224c018cf0310f6.tar.gz |
Issue #20682: Oops, fix test_create_connection() of test_asyncio (fix my previous commit)
-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 36bb93a28a..3720cc7560 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) |