-
-
Notifications
You must be signed in to change notification settings - Fork 34.7k
Add tests for PyWeakref_* C API #151130
Copy link
Copy link
Open
Labels
3.13bugs and security fixesbugs and security fixes3.14bugs and security fixesbugs and security fixes3.15pre-release feature fixes, bugs and security fixespre-release feature fixes, bugs and security fixes3.16new features, bugs and security fixesnew features, bugs and security fixestestsTests in the Lib/test dirTests in the Lib/test dirtopic-C-API
Metadata
Metadata
Assignees
Labels
3.13bugs and security fixesbugs and security fixes3.14bugs and security fixesbugs and security fixes3.15pre-release feature fixes, bugs and security fixespre-release feature fixes, bugs and security fixes3.16new features, bugs and security fixesnew features, bugs and security fixestestsTests in the Lib/test dirTests in the Lib/test dirtopic-C-API
Fields
Give feedbackNo fields configured for issues without a type.
Currently all tests for
PyWeakref_*C API are implemented in a single C functiontest_weakref_capi()inModules/_testcapimodule.c. it is not easy to add new tests, also the failure report is not very informative. The following PR adds separate moduletest.test_capi.test_weakrefand wrappers in_testcapiand_testlimitedcapimodules to write tests in Python.Linked PRs