diff options
author | dustinlharrison <dustinlharrison@gmail.com> | 2019-09-26 14:07:26 -0700 |
---|---|---|
committer | Carlton Gibson <carlton@noumenal.es> | 2019-10-09 11:20:13 +0200 |
commit | b0e92fb49d1c6f5c18e36f91c18d3ed981b47ae9 (patch) | |
tree | 21c569d943998dbb661b2174f5aadf02f9f90af7 /tox.ini | |
parent | 8b10357854f6e21ffcfea6761d2375338088720e (diff) | |
download | django-b0e92fb49d1c6f5c18e36f91c18d3ed981b47ae9.tar.gz |
Fixed #30806 -- Prevented tox tests hanging on macOS.
MacOS users may need to set OBJC_DISABLE_INITIALIZE_FORK_SAFETY=TRUE
(#27086) to prevent tests from hanging. If set, also pass the environment
variable to `tox`.
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -17,7 +17,8 @@ basepython = python3 [testenv] usedevelop = true -passenv = DJANGO_SETTINGS_MODULE PYTHONPATH HOME DISPLAY +# OBJC_DISABLE_INITIALIZE_FORK_SAFETY fixes hung tests for MacOS users. (#30806) +passenv = DJANGO_SETTINGS_MODULE PYTHONPATH HOME DISPLAY OBJC_DISABLE_INITIALIZE_FORK_SAFETY setenv = PYTHONDONTWRITEBYTECODE=1 deps = |