summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_asyncio
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2014-02-09 01:35:09 (GMT)
committerGuido van Rossum <guido@python.org>2014-02-09 01:35:09 (GMT)
commit313f829ce8f7160ea25bfd6f14ea0ac37264e0ae (patch)
tree404a260ad288c7798b0276c18075df5648aa6740 /Lib/test/test_asyncio
parent3d7b3641d3a97a2a3ee936f91fc3f9160c3d11f9 (diff)
downloadcpython-313f829ce8f7160ea25bfd6f14ea0ac37264e0ae.zip
cpython-313f829ce8f7160ea25bfd6f14ea0ac37264e0ae.tar.gz
cpython-313f829ce8f7160ea25bfd6f14ea0ac37264e0ae.tar.bz2
asyncio: Test fix.
Diffstat (limited to 'Lib/test/test_asyncio')
-rw-r--r--Lib/test/test_asyncio/test_tasks.py2
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
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