Skip to content

[3.12] gh-107178: Add the C API tests for the Abstract Objects Layer (GH-107179)#107728

Merged
Yhg1s merged 1 commit intopython:3.12from
serhiy-storchaka:backport-16c9415-3.12
Aug 16, 2023
Merged

[3.12] gh-107178: Add the C API tests for the Abstract Objects Layer (GH-107179)#107728
Yhg1s merged 1 commit intopython:3.12from
serhiy-storchaka:backport-16c9415-3.12

Conversation

@serhiy-storchaka
Copy link
Member

@serhiy-storchaka serhiy-storchaka commented Aug 7, 2023

Cover all the Mapping Protocol, almost all the Sequence Protocol (except PySequence_Fast) and a part of the Object Protocol.

Move existing tests to Lib/test/test_capi/test_abstract.py and Modules/_testcapi/abstract.c.

Add also tests for PyDict C API.
(cherry picked from commit 16c9415)

…Layer (pythonGH-107179)

Cover all the Mapping Protocol, almost all the Sequence Protocol
(except PySequence_Fast) and a part of the Object Protocol.

Move existing tests to Lib/test/test_capi/test_abstract.py and
Modules/_testcapi/abstract.c.

Add also tests for PyDict C API..
(cherry picked from commit 16c9415)

Co-authored-by: Serhiy Storchaka <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add the C API tests for Mapping Protocol and Sequence Protocol

3 participants