FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

[3.13] gh-156106: Add tests for setting and deleting attributes defined in C (GH-156107) by serhiy-storchaka · Pull Request #156191 · python/cpython · GitHub

Repository navigation

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

Merged
serhiy-storchaka merged 3 commits into
python:3.13from
serhiy-storchaka:backport-156106-3.13
Aug 21, 2026
Merged

serhiy-storchaka merged 3 commits into
python:3.13from
serhiy-storchaka:backport-156106-3.13

Conversation

serhiy-storchaka commented Aug 21, 2026 •
edited by bedevere-app Bot
Loading

Copy link
Copy Markdown
Member

Manual backport of #156107 to 3.13.

The tests are adapted to this branch: the tests for _io.TextIOWrapper are in Lib/test/test_io.py, SyntaxError._metadata does not exist, and FileIO._blksize is writable.

The test for deleting frame.f_trace_opcodes is omitted, because it crashes here (gh-156189, #156190).

…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)
serhiy-storchaka merged commit 8be8128 into python:3.13 Aug 21, 2026
41 checks passed
serhiy-storchaka deleted the backport-156106-3.13 branch August 21, 2026 20:58
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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


Back | FazBrowse Home | New Git URL