]> granicus.if.org Git - python/commitdiff
Issue #20682: Oops, fix test_create_connection() of test_asyncio (fix my previous...
authorVictor Stinner <victor.stinner@gmail.com>
Wed, 19 Feb 2014 17:32:03 +0000 (18:32 +0100)
committerVictor Stinner <victor.stinner@gmail.com>
Wed, 19 Feb 2014 17:32:03 +0000 (18:32 +0100)
Lib/test/test_asyncio/test_events.py

index 36bb93a28ab6fce554f02513f92bbb5d2163856f..3720cc7560bc400584125996ecd4a5de9103127c 100644 (file)
@@ -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)