Skip to content

gh-143955: Prevent schema drift false-positives in asyncio tools tests#148525

Merged
pablogsal merged 1 commit into
python:mainfrom
johnslavik:gh-143955-refactor-test-tools-structs
Apr 14, 2026
Merged

gh-143955: Prevent schema drift false-positives in asyncio tools tests#148525
pablogsal merged 1 commit into
python:mainfrom
johnslavik:gh-143955-refactor-test-tools-structs

Conversation

@johnslavik

@johnslavik johnslavik commented Apr 13, 2026

Copy link
Copy Markdown
Member

Replace namedtuple reimplementations with factory helpers that wrap the real _remote_debugging structseq types. This prevents silent drift between test stubs and production structs, as previously occurred in gh-142394 (see gh-143952).

Replace namedtuple reimplementations with factory helpers that wrap
the real _remote_debugging structseq types. This prevents silent
drift between test stubs and production structs, as previously
occurred in pythongh-142394/pythongh-143952.
@johnslavik

Copy link
Copy Markdown
Member Author

I don't expect a schema change in 3.14 so let's not backport it

@johnslavik johnslavik changed the title gh-143955: Use _remote_debugging structs directly in test_tools gh-143955: Prevent schema drift false-positives in asyncio tools tests Apr 13, 2026
@pablogsal
pablogsal merged commit 21da9d7 into python:main Apr 14, 2026
54 checks passed
ljfp pushed a commit to ljfp/cpython that referenced this pull request Apr 25, 2026
@johnslavik
johnslavik deleted the gh-143955-refactor-test-tools-structs branch July 21, 2026 01:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip news tests Tests in the Lib/test dir

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants