projects
/
python
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3d7b364
)
asyncio: Test fix.
author
Guido van Rossum
<guido@python.org>
Sun, 9 Feb 2014 01:35:09 +0000
(17:35 -0800)
committer
Guido van Rossum
<guido@python.org>
Sun, 9 Feb 2014 01:35:09 +0000
(17:35 -0800)
Lib/test/test_asyncio/test_tasks.py
patch
|
blob
|
history
diff --git
a/Lib/test/test_asyncio/test_tasks.py
b/Lib/test/test_asyncio/test_tasks.py
index d4d4e6390c222f6acabfed994eff2f6f13f93ba3..9abdfa5bc13e0d5f20fcd521e3efc40c92ae7baf 100644
(file)
--- 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