The asyncio tools use structures from the `_remote_debugging` module. In tests we currently reimplement these structures: https://github.com/python/cpython/blob/1b52ce825be879344512cd10fadf16335bfd9ad5/Lib/test/test_asyncio/test_tools.py#L7-L11 In GH-142394, the upstream structures from `_remote_debugging` were changed, but the reimplementations in the tests were not updated to match. This caused a regression from GH-143952 to sneak in. Let's use structures from `_remote_debugging` directly, as it is currently done in `test_external_inspection`, to prevent any further unnoticed discrepancies. cc @pablogsal <!-- gh-linked-prs --> ### Linked PRs * gh-148525 <!-- /gh-linked-prs -->