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

victor.stinner python-checkins at python.org
Wed Feb 19 18:32:14 CET 2014


http://hg.python.org/cpython/rev/07cdce316b1d
changeset:   89283:07cdce316b1d
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