diff options
| author | Alix Martineau <alix.martineau@ripplemotion.fr> | 2016-11-05 16:25:16 +0100 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2016-12-20 12:58:14 -0500 |
| commit | 0a8c685447eea8fc7aa34ea444a3156ee489379f (patch) | |
| tree | b97a860874ae73d38021ae7f06813ec8104f48ee /docs/internals/contributing/writing-code/unit-tests.txt | |
| parent | 0b4d5172631af065601370a6d35d05b53eb2f5f6 (diff) | |
Fixed #27439 -- Documented macOS locale configuration for Django tests.
Diffstat (limited to 'docs/internals/contributing/writing-code/unit-tests.txt')
| -rw-r--r-- | docs/internals/contributing/writing-code/unit-tests.txt | 9 |
1 files changed, 9 insertions, 0 deletions
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 ----------------------------------- |
