-
-
Notifications
You must be signed in to change notification settings - Fork 34.4k
Add tests for Unicode C API #99593
Copy link
Copy link
Closed
Labels
3.12only security fixesonly security fixestestsTests in the Lib/test dirTests in the Lib/test dirtopic-C-APItype-featureA feature request or enhancementA feature request or enhancement
Metadata
Metadata
Assignees
Labels
3.12only security fixesonly security fixestestsTests in the Lib/test dirTests in the Lib/test dirtopic-C-APItype-featureA feature request or enhancementA feature request or enhancement
Several years ago I started to write tests for Unicode C API. It required a lot of effort, because this category is big, so after doing 2/3 of the work I put it off for later. Certain circumstances prevented me from completing it. But now I found time to return to it.
In the meantime, other people have done some of this work (moving parts of the
_testcapi.cto a separate files, adding coverage for more C API functions), and some of the legacy C API has been removed. Therefore, it took more than a week to arrange the code, fix conflicts, remove outdated tests and write remaining tests. But some errors may still remain, be careful.Linked PRs