diff options
Diffstat (limited to 'Lib/test/test_asyncio/test_tasks.py')
| -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 5e83a54ff2..822338f932 100644 --- a/Lib/test/test_asyncio/test_tasks.py +++ b/Lib/test/test_asyncio/test_tasks.py @@ -2448,7 +2448,7 @@ class CTask_Future_Tests(test_utils.TestCase):          self.loop = asyncio.new_event_loop()          try:              fut = Fut(loop=self.loop) -            self.loop.call_later(0.1, fut.set_result(1)) +            self.loop.call_later(0.1, fut.set_result, 1)              task = asyncio.Task(coro(), loop=self.loop)              res = self.loop.run_until_complete(task)          finally:  | 
