1
0
mirror of https://github.com/django/django.git synced 2025-10-31 09:41:08 +00:00

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).
This commit is contained in:
Marc Gibbons
2023-04-27 14:02:55 -06:00
committed by GitHub
parent 5c456a8793
commit 070cbac0db
3 changed files with 12 additions and 5 deletions

2
.gitignore vendored
View File

@@ -13,6 +13,6 @@ docs/_build/
docs/locale/
node_modules/
tests/coverage_html/
tests/.coverage
tests/.coverage*
build/
tests/report/