-
-
Couldn't load subscription status.
- Fork 33.3k
Closed as not planned
Labels
OS-windowstestsTests in the Lib/test dirTests in the Lib/test dirtype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
Description
Bug report
Bug description:
On Windows, test_strptime fails for rare locales (e.g. aa_ET, om_ET, so_SO) because locale data is missing for these languages. The same tests pass on Linux, where the relevant locale data is available.
Example error:
AssertionError: Tuples differ: (8, 9, 28) != (20, 9, 28)
: testing of '%X' format failed; '8:09:28...' -> (8, 9, 28) != (20, 9, 28)
Expected behavior
Skip tests for locales that are not available or not supported on the current platform.
If this is acceptable, I am willing to submit a PR.
CPython versions tested on:
CPython main branch
Operating systems tested on:
Windows
Metadata
Metadata
Assignees
Labels
OS-windowstestsTests in the Lib/test dirTests in the Lib/test dirtype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
Projects
Status
Done