From 0a8c685447eea8fc7aa34ea444a3156ee489379f Mon Sep 17 00:00:00 2001 From: Alix Martineau Date: Sat, 5 Nov 2016 16:25:16 +0100 Subject: Fixed #27439 -- Documented macOS locale configuration for Django tests. --- docs/internals/contributing/writing-code/unit-tests.txt | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'docs/internals/contributing/writing-code') 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 ----------------------------------- -- cgit v1.3