summaryrefslogtreecommitdiff
path: root/asyncio/test_utils.py
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2014-07-03 17:24:21 +0200
committerVictor Stinner <victor.stinner@gmail.com>2014-07-03 17:24:21 +0200
commit07b14e3a7f103709232c304c0563b18d91a852ec (patch)
tree7a1d7c141a137e6123ade33783064008c70706b8 /asyncio/test_utils.py
parent643ede80df0d364251dd5eaa5ae5bad6839dd441 (diff)
downloadtrollius-07b14e3a7f103709232c304c0563b18d91a852ec.tar.gz
Backed out changeset b288da71fb40
Oops, I wanted to send this patch for review before
Diffstat (limited to 'asyncio/test_utils.py')
-rw-r--r--asyncio/test_utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/asyncio/test_utils.py b/asyncio/test_utils.py
index 644413a..ef3be23 100644
--- a/asyncio/test_utils.py
+++ b/asyncio/test_utils.py
@@ -48,7 +48,7 @@ def run_briefly(loop):
def once():
pass
gen = once()
- t = tasks.task_factory(gen, loop=loop)
+ t = tasks.Task(gen, loop=loop)
# Don't log a warning if the task is not done after run_until_complete().
# It occurs if the loop is stopped or if a task raises a BaseException.
t._log_destroy_pending = False