1
0
mirror of https://github.com/django/django.git synced 2024-12-27 19:46:22 +00:00
django/docs/internals/contributing/writing-code
Marc Gibbons 070cbac0db
Restored multiprocessing concurrency on coverage.py settings
* Revert "Reverted "Fixed #33213 -- Doc'd testing code coverage in parallel and used it.""

This reverts commit 78da5ca0c1.

* Restored coverage multiprocess concurrency with threads

Investigating https://github.com/nedbat/coveragepy/issues/1585 revealed
that thread tracing gets disabled when passing
`concurrency = multiprocessing`. Adding `thread` restores it, and
ensures that the `auser()` is reported as covered since the test suite
uses `AsyncToSync` to execute this middleware (which spawns threads).
2023-04-27 17:02:55 -03:00
..
coding-style.txt Used extlinks for PyPI links. 2023-04-17 06:55:32 +02:00
index.txt Refs #31356 -- Changed IRC links to the Libera.Chat webchat. 2021-06-03 12:07:30 +02:00
javascript.txt Fixed #33842 -- Used :source: role for links to repo files on GitHub. 2022-08-09 14:44:51 +02:00
submitting-patches.txt Doc'd RemovedInDjangoXXWarning comments in deprecating a feature guide. 2023-04-19 08:47:27 -03:00
unit-tests.txt Restored multiprocessing concurrency on coverage.py settings 2023-04-27 17:02:55 -03:00
working-with-git.txt Refs #34140 -- Applied rst code-block to non-Python examples. 2023-02-10 19:19:13 +01:00