Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork34k
Open
Description
The asyncio tools use structures from the_remote_debugging module.
In tests we currently reimplement these structures:
cpython/Lib/test/test_asyncio/test_tools.py
Lines 7 to 11 in1b52ce8
| FrameInfo=namedtuple('FrameInfo', ['funcname','filename','lineno']) | |
| CoroInfo=namedtuple('CoroInfo', ['call_stack','task_name']) | |
| TaskInfo=namedtuple('TaskInfo', ['task_id','task_name','coroutine_stack','awaited_by']) | |
| AwaitedInfo=namedtuple('AwaitedInfo', ['thread_id','awaited_by']) | |
InGH-142394, the upstream structures from_remote_debugging were changed, but the reimplementations in the tests were not updated to match. This caused a regression fromGH-143952 to sneak in.
Let's use structures from_remote_debugging directly, as it is currently done intest_external_inspection, to prevent any further unnoticed discrepancies.