mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
GH-105684: Require asyncio.Task
implementations to support set_name
method (#105685)
This commit is contained in:
parent
829ac13b69
commit
840d02f3f0
5 changed files with 8 additions and 16 deletions
|
@ -243,6 +243,8 @@ class RunTests(BaseTest):
|
|||
def get_loop(self, *args, **kwargs):
|
||||
return self._task.get_loop(*args, **kwargs)
|
||||
|
||||
def set_name(self, *args, **kwargs):
|
||||
return self._task.set_name(*args, **kwargs)
|
||||
|
||||
async def main():
|
||||
interrupt_self()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue