Skip to content

Add tests for PyWeakref_* C API #151130

Description

@serhiy-storchaka

Currently all tests for PyWeakref_* C API are implemented in a single C function test_weakref_capi() in Modules/_testcapimodule.c. it is not easy to add new tests, also the failure report is not very informative. The following PR adds separate module test.test_capi.test_weakref and wrappers in _testcapi and _testlimitedcapi modules to write tests in Python.

Linked PRs

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    3.13bugs and security fixes3.14bugs and security fixes3.15pre-release feature fixes, bugs and security fixes3.16new features, bugs 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