Skip to content

Conversation

marcgibbons
Copy link
Contributor

Investigating nedbat/coveragepy#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).
@nessita nessita changed the title Restore multiprocessing concurrency on coverage.py settings Restored multiprocessing concurrency on coverage.py settings Apr 27, 2023
@nessita
Copy link
Contributor

nessita commented Apr 27, 2023

Looks great, thanks!

@nessita nessita merged commit 070cbac into django:main Apr 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants