From: Guido van Rossum Date: Sun, 9 Feb 2014 01:35:09 +0000 (-0800) Subject: asyncio: Test fix. X-Git-Tag: v3.4.0rc1~18 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=313f829ce8f7160ea25bfd6f14ea0ac37264e0ae;p=thirdparty%2FPython%2Fcpython.git asyncio: Test fix. --- diff --git a/Lib/test/test_asyncio/test_tasks.py b/Lib/test/test_asyncio/test_tasks.py index d4d4e6390c22..9abdfa5bc13e 100644 --- a/Lib/test/test_asyncio/test_tasks.py +++ b/Lib/test/test_asyncio/test_tasks.py @@ -860,7 +860,7 @@ class TaskTests(unittest.TestCase): 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