Skip to content

Improve unicodedata tests #142681

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

Activity

  1. added
    testsTests in the Lib/test dir
    3.13only security fixes
    3.14bugs and security fixes
    3.15bugs and security fixes
    on Dec 13, 2025
  2. added a commit that references this issue on Dec 13, 2025
  3. added 5 commits that reference this issue on Dec 14, 2025
  4. added a commit that references this issue on Dec 16, 2025
  5. encukou commented on Dec 18, 2025

    @encukou
    Member

    the newly added NormalizationTest-3.2.0.txt is removed by make distclean.

  6. added a commit that references this issue on Dec 18, 2025
  7. warsaw commented on Dec 18, 2025

    @warsaw
    Member

    This PR should do the trick.

  8. added a commit that references this issue on Dec 18, 2025
  9. added 2 commits that reference this issue on Dec 18, 2025
  10. added a commit that references this issue on Dec 18, 2025
  11. added a commit that references this issue on Dec 18, 2025
  12. added a commit that references this issue on Dec 19, 2025
  13. StanFromIreland commented on Dec 22, 2025

    @StanFromIreland
    Member

    #142681 (comment) was fixed by #142935, closing.

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.13only security fixes3.14bugs and security fixes3.15bugs 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