Skip to content

[3.14] gh-156106: Add tests for setting and deleting attributes defined in C (GH-156107) - #156184

Merged
serhiy-storchaka merged 1 commit into
python:3.14from
serhiy-storchaka:backport-156106-3.14
Aug 21, 2026
Merged

[3.14] gh-156106: Add tests for setting and deleting attributes defined in C (GH-156107)#156184
serhiy-storchaka merged 1 commit into
python:3.14from
serhiy-storchaka:backport-156106-3.14

Conversation

@serhiy-storchaka

@serhiy-storchaka serhiy-storchaka commented Aug 21, 2026

Copy link
Copy Markdown
Member

Manual backport of #156107 to 3.14: the tests for _io.TextIOWrapper are in Lib/test/test_io.py there, not in the Lib/test/test_io package.

…d in C (pythonGH-156107)

Test setting a value of an accepted type, of a wrong type and an invalid
value, and deleting the attribute, for the attributes defined with
PyMemberDef and PyGetSetDef which were not covered.

(cherry picked from commit cdca502)
@bedevere-app bedevere-app Bot added the tests Tests in the Lib/test dir label Aug 21, 2026
@serhiy-storchaka
serhiy-storchaka merged commit ccaacd8 into python:3.14 Aug 21, 2026
53 checks passed
@serhiy-storchaka
serhiy-storchaka deleted the backport-156106-3.14 branch August 21, 2026 15:05
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.

1 participant