From 313f829ce8f7160ea25bfd6f14ea0ac37264e0ae Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Sat, 8 Feb 2014 17:35:09 -0800 Subject: asyncio: Test fix. --- Lib/test/test_asyncio/test_tasks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/test/test_asyncio/test_tasks.py b/Lib/test/test_asyncio/test_tasks.py index d4d4e63..9abdfa5 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 -- cgit v0.12