Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Backport test_capi enhancements from Python 3.12 to Python 3.11 #110835

Closed
vstinner opened this issue Oct 13, 2023 · 3 comments
Closed

Backport test_capi enhancements from Python 3.12 to Python 3.11 #110835

vstinner opened this issue Oct 13, 2023 · 3 comments
Labels
tests Tests in the Lib/test dir topic-C-API

Comments

@vstinner
Copy link
Member

I propose to copy Modules/_testcapi/ and Lib/test/test_capi/ from Python 3.12 to Python 3.11 to increase the test coverage in Python 3.11 and allow backporting test changes, since test changes should be backported to stable versions: Python 3.11 and 3.12.

@vstinner vstinner added tests Tests in the Lib/test dir topic-C-API labels Oct 13, 2023
@vstinner vstinner changed the title Backport test_capi enhancements to Python 3.11 Backport test_capi enhancements from Python 3.12 to Python 3.11 Oct 13, 2023
@vstinner
Copy link
Member Author

Example of test which would be nice to backport to Python 3.11: #110547 (comment)

@serhiy-storchaka
Copy link
Member

serhiy-storchaka commented Oct 13, 2023

$ git log --oneline 3.12 -- Modules/_testcapi/ Lib/test/test_capi/ | wc -l
108

@vstinner
Copy link
Member Author

While it would be nice, I failed to find time to do that. So let's leave the code as it is. I just close the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tests Tests in the Lib/test dir topic-C-API
Projects
None yet
Development

No branches or pull requests

2 participants