pytest-cov icon indicating copy to clipboard operation
pytest-cov copied to clipboard

`pytest-cov` emits hundreds of megabytes of `AstArcAnalyzer`

Open imnotjames opened this issue 11 months ago • 8 comments

Struggling to create a minimal implementation of this, but it seems that when we're using pytest-cov, mocking out os, and then have an internal pytest error we have hundreds of megabytes of AST data printed out because os.getenv("COVERAGE_TRACK_ARCS") gets accidentally set to a truthy value.

Working on a minimal reproduction..

imnotjames avatar Nov 14 '24 02:11 imnotjames