Kaydet (Commit) 313f829c authored tarafından Guido van Rossum's avatar Guido van Rossum

asyncio: Test fix.

üst 3d7b3641
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment