Skip to content

Commit

Permalink
disable dynamic_context for coverage (pypi#12772)
Browse files Browse the repository at this point in the history
Introduced in pypi@89a2c0d.

Currently performance impact of this with current version of coverage is _bad_:

Without this change:

```
=============================== 3231 passed, 483 warnings in 1249.00s (0:20:49) ==============================
```

With this change:

```
=============================== 3231 passed, 483 warnings in 100.98s (0:01:40) ===============================
```
  • Loading branch information
ewdurbin committed Jan 6, 2023
1 parent 03509ec commit 528b925
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .coveragerc
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[run]
branch = True
dynamic_context = test_function
# TODO: Re-Enable when https://github.com/nedbat/coveragepy/issues/1527 is resolved
# dynamic_context = test_function

source =
warehouse
Expand Down

0 comments on commit 528b925

Please sign in to comment.