From 0a8c685447eea8fc7aa34ea444a3156ee489379f Mon Sep 17 00:00:00 2001 From: Alix Martineau Date: Sat, 5 Nov 2016 16:25:16 +0100 Subject: [PATCH] Fixed #27439 -- Documented macOS locale configuration for Django tests. --- docs/internals/contributing/writing-code/unit-tests.txt | 9 +++++++++ docs/spelling_wordlist | 1 + 2 files changed, 10 insertions(+) diff --git a/docs/internals/contributing/writing-code/unit-tests.txt b/docs/internals/contributing/writing-code/unit-tests.txt index 87da1cb66e..1bed503898 100644 --- a/docs/internals/contributing/writing-code/unit-tests.txt +++ b/docs/internals/contributing/writing-code/unit-tests.txt @@ -326,6 +326,15 @@ You can resolve this on Debian-based systems, for example, by running:: $ apt-get install locales $ dpkg-reconfigure locales +You can resolve this for macOS systems by configuring your shell's locale:: + + $ export LANG="en_US.UTF-8" + $ export LC_ALL="en_US.UTF-8" + +Run the ``locale`` command to confirm the change. Optionally, add those export +commands to your shell's startup file (e.g. ``~/.bashrc`` for Bash) to avoid +having to retype them. + Tests that only fail in combination ----------------------------------- diff --git a/docs/spelling_wordlist b/docs/spelling_wordlist index 10e484a9ff..8405db76dc 100644 --- a/docs/spelling_wordlist +++ b/docs/spelling_wordlist @@ -452,6 +452,7 @@ lowercasing lt lte Luhn +macOS Magee makemessages makemigrations