Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#27439 closed Cleanup/optimization (fixed)

Document how to add locale for osX on Unit Tests/Troubleshooting section for contribution

Reported by: Patricia Sousa Owned by: alix-
Component: Documentation Version: 1.10
Severity: Normal Keywords:
Cc: Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

A lot of errors on the test run for contributors have to do with incorrect locale settings.
There is a troubleshooting section for this that provides instructions for Debian (https://docs.djangoproject.com/en/1.10/internals/contributing/writing-code/unit-tests/#troubleshooting).

Add documentation on how to set this definitions for osX.

This solution worked for me:
Check locales: $ locale
As LANG wasn't set, the following command
export LANG=en_US.UTF-8
set the LANG and tests ran successfully.

Change History (5)

comment:1 by alix-, 7 years ago

Owner: changed from nobody to alix-
Status: newassigned

comment:5 by Tim Graham, 7 years ago

Triage Stage: UnreviewedAccepted

comment:6 by Tim Graham <timograham@…>, 7 years ago

Resolution: fixed
Status: assignedclosed

In 0a8c6854:

Fixed #27439 -- Documented macOS locale configuration for Django tests.

comment:7 by Tim Graham <timograham@…>, 7 years ago

In 1a039e76:

[1.10.x] Fixed #27439 -- Documented macOS locale configuration for Django tests.

Backport of 0a8c685447eea8fc7aa34ea444a3156ee489379f from master

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