From 8d1ae59f3a558184b31789ef3aa07a9007671a75 Mon Sep 17 00:00:00 2001 From: Paul Sokolovsky Date: Fri, 2 May 2014 00:22:36 +0300 Subject: [PATCH] asyncio_slow: run_until_complete() should not schedule anyhing. Everything should be scheduled either already, or async() does this. --- asyncio_slow/asyncio_slow.py | 1 - 1 file changed, 1 deletion(-) diff --git a/asyncio_slow/asyncio_slow.py b/asyncio_slow/asyncio_slow.py index bf82fcac..e0a89433 100644 --- a/asyncio_slow/asyncio_slow.py +++ b/asyncio_slow/asyncio_slow.py @@ -43,7 +43,6 @@ class EventLoop: t = async(coro) t.add_done_callback(_cb) - self.call_soon(t) try: self.run_forever() except DoneException: