[Python-checkins] cpython: asyncio: Test fix.

guido.van.rossum python-checkins at python.org
Sun Feb 9 02:35:52 CET 2014


http://hg.python.org/cpython/rev/a5dea12a45a1
changeset:   89078:a5dea12a45a1
user:        Guido van Rossum <guido at python.org>
date:        Sat Feb 08 17:35:09 2014 -0800
summary:
  asyncio: Test fix.

files:
  Lib/test/test_asyncio/test_tasks.py |  2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/Lib/test/test_asyncio/test_tasks.py b/Lib/test/test_asyncio/test_tasks.py
--- a/Lib/test/test_asyncio/test_tasks.py
+++ b/Lib/test/test_asyncio/test_tasks.py
@@ -860,7 +860,7 @@
         def runner():
             result = []
             c = coro('ham')
-            for f in asyncio.as_completed({c, c, coro('spam')}, loop=self.loop):
+            for f in asyncio.as_completed([c, c, coro('spam')], loop=self.loop):
                 result.append((yield from f))
             return result
 

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


More information about the Python-checkins mailing list