Skip to content

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

Merged
pablogsal merged 1 commit intopython: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 intopython:mainfrom
johnslavik:gh-143955-refactor-test-tools-structs

Conversation

@johnslavik
Copy link
Copy Markdown
Member

@johnslavik johnslavik commented Apr 13, 2026

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
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