Skip to content

Commit

Permalink
🧪💅 Load pytest-cov early
Browse files Browse the repository at this point in the history
This patch configures pytest to load the `pytest-cov` plugin earlier than others. This helps running it with `pytest-xdist` in a more predictable way.

PR #9733
  • Loading branch information
webknjaz authored Nov 9, 2024
1 parent c3a9c3e commit 523d934
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@ addopts =
--showlocals

# `pytest-cov`:
-p pytest_cov
--cov=aiohttp
--cov=tests/

Expand Down

0 comments on commit 523d934

Please sign in to comment.