Opened 3 years ago

Closed 3 years ago

#32608 closed Cleanup/optimization (needsinfo)

Collation test fails on PostgreSQL on Windows due to missing locale

Reported by: Ahmad A. Hussein Owned by: nobody
Component: Testing framework Version: dev
Severity: Normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

https://github.com/django/django/blob/f83214a3e15ccadc9e2370dd157ed19bcdb07e2c/tests/schema/tests.py#L4028

This test fails on Windows with the specified locale. Changing locale = 'und-u-ks-level2' to locale = '@colStrength=secondary' fixes this but I'm not sure why. I believe the locale used is missing on earlier Windows PostgreSQL installations.

Is this a bug in the code or a failure specific to my installation?

Change History (1)

comment:1 by Mariusz Felisiak, 3 years ago

Resolution: needsinfo
Status: newclosed

Thanks for this report, however I don't think you've explained the issue in enough detail to confirm a bug in schema test. It works for me on PostgreSQL 12 and 13. Please reopen this ticket if you can provide more details, especially why Django is at fault.

Note: See TracTickets for help on using tickets.
Back to Top