Skip to content

Improve unicodedata tests #142681

@serhiy-storchaka

Description

@serhiy-storchaka

Initially it was planned as tests for #101372. That bug occurred because many tests were only ran with the current Unicode database, not UCD 3.2.0. So, I made most tests running with both databases, added tests for normalization, added many examples with Unicode >4.0.0 in other tests, and marked Unicode version for existing examples. Since running new tests takes time, I optimized tests, slow tests which was previously skipped without the "cpu" resource, now run with limited range. Now the run without the "cpu" resource takes 3 seconds (was 1 second), and full run -- 30 seconds (was 17 seconds).

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    3.13bugs and security fixes3.14bugs and security fixes3.15new features, bugs and security fixestestsTests in the Lib/test dirtopic-unicodetype-featureA feature request or enhancement

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions