Skip to content

Add the C API tests for Mapping Protocol and Sequence Protocol #107178

Closed
@serhiy-storchaka

Description

@serhiy-storchaka

Currently only few functions in these protocols are covered by tests: PyMapping_Keys, PyMapping_Values, PyMapping_Items, PyMapping_HasKey, PyMapping_HasKeyString, PySequence_SetSlice, PySequence_DelSlice. Since we just added few new functions (PyMapping_GetOptionalItem, etc) and are planning to deprecate other functions (PyMapping_HasKey, etc), we need more tests.

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    3.12only security fixes3.13bugs and security fixestestsTests in the Lib/test dirtopic-C-API

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions