diff options
author | Guido van Rossum <guido@python.org> | 2014-02-09 01:35:09 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2014-02-09 01:35:09 (GMT) |
commit | 313f829ce8f7160ea25bfd6f14ea0ac37264e0ae (patch) | |
tree | 404a260ad288c7798b0276c18075df5648aa6740 /Lib/test/test_asyncio | |
parent | 3d7b3641d3a97a2a3ee936f91fc3f9160c3d11f9 (diff) | |
download | cpython-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.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 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 |