summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Lib/test/test_asyncio/test_tasks.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_asyncio/test_tasks.py b/Lib/test/test_asyncio/test_tasks.py
index a5706ae..c64e1ef 100644
--- a/Lib/test/test_asyncio/test_tasks.py
+++ b/Lib/test/test_asyncio/test_tasks.py
@@ -993,9 +993,9 @@ class TaskTests(test_utils.TestCase):
handle = None
orig_call_later = loop.call_later
- def call_later(self, delay, callback, *args):
+ def call_later(delay, callback, *args):
nonlocal handle
- handle = orig_call_later(self, delay, callback, *args)
+ handle = orig_call_later(delay, callback, *args)
return handle
loop.call_later = call_later