[Python-checkins] cpython (3.4): Issue #20682: Oops, fix test_create_connection() of test_asyncio (fix my

larry.hastings python-checkins at python.org
Mon Mar 17 07:32:19 CET 2014


http://hg.python.org/cpython/rev/f38a7d61c4c2
changeset:   89739:f38a7d61c4c2
branch:      3.4
user:        Victor Stinner <victor.stinner at gmail.com>
date:        Wed Feb 19 18:32:03 2014 +0100
summary:
  Issue #20682: Oops, fix test_create_connection() of test_asyncio (fix my previous commit)

files:
  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
--- a/Lib/test/test_asyncio/test_events.py
+++ b/Lib/test/test_asyncio/test_events.py
@@ -509,7 +509,7 @@
         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)

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list