Skip to content

gh-160147: Move test_set_type_size() to Modules/_testcapi/object.c - #163042

Merged
vstinner merged 1 commit into
python:mainfrom
vstinner:testcapi_set_type
Dec 3, 2026
Merged

vstinner merged 1 commit into
python:mainfrom
vstinner:testcapi_set_type

Conversation

@vstinner

@vstinner vstinner commented Dec 3, 2026 •

Copy link
Copy Markdown
Member

The test was in Modules/_testcapi/set.c whereas it's unrelated to set objects. The test was in the wrong file because its name contains "set", but in fact it tests the PyObject API.

The test was in Modules/_testcapi/set.c whereas it's unrelated to set
objects. The test was in the wrong file because its name contains
"set", but in fact it tests the PyObject API.
@vstinner vstinner added tests Tests in the Lib/test dir skip news topic-C-API needs backport to 3.14 bugs and security fixes needs backport to 3.15 bugs and security fixes labels Dec 3, 2026
@bedevere-app bedevere-app Bot added the type-feature A feature request or enhancement label Dec 3, 2026
@vstinner vstinner removed the type-feature A feature request or enhancement label Dec 3, 2026
@vstinner
vstinner merged commit 8efb4da into python:main Dec 3, 2026
62 of 70 checks passed
@vstinner
vstinner deleted the testcapi_set_type branch December 3, 2026 01:21
@miss-islington-app

Copy link
Copy Markdown

Thanks @vstinner for the PR 🌮🎉.. I'm working now to backport this PR to: 3.14, 3.15.
🐍🍒⛏🤖

@bedevere-app

bedevere-app Bot commented Dec 3, 2026

Copy link
Copy Markdown

GH-163046 is a backport of this pull request to the 3.15 branch.

@bedevere-app bedevere-app Bot removed the needs backport to 3.15 bugs and security fixes label Dec 3, 2026
@bedevere-app

bedevere-app Bot commented Dec 3, 2026

Copy link
Copy Markdown

GH-163047 is a backport of this pull request to the 3.14 branch.

@bedevere-app bedevere-app Bot removed the needs backport to 3.14 bugs and security fixes label Dec 3, 2026
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 topic-C-API

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant