#coveragepy

[ follow ]
Python
fromNedbatchelder
1 week ago

Why your mock breaks later

Patch mocks where the object is used, not where it's defined, to avoid unintended, global effects on other libraries and test infrastructure.
fromNedbatchelder
2 weeks ago
Python

Three releases, one new organization

Coverage.py's sys.monitoring default core caused conflicts with explicit concurrency settings, prompting rapid releases to adjust core selection and handle older Python versions.
Python
fromNedbatchelder
3 months ago

Finding unneeded pragmas

A tool detects coverage.py exclusion pragmas that were executed, helping identify exclusions that may no longer be necessary.
[ Load more ]