coveragepy: Regression with [paths] in 6.x

[paths] mapping working in 5.5 no longer works in 6.x

paths]
source =
    src/
    # Set by nox
    $VENV_PACKAGE_DIRS/

To Reproduce

  1. Python 3.6, 3.10
  2. Coverage 6.x

Code attached run with nox

Expected behavior 100% coverage

Additional context Change test/requirements.txt to use coverage 5.5 and the coverage will be 100%

cov-paths-error.zip

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 19 (10 by maintainers)

Commits related to this issue

Most upvoted comments

Oops, I was so focused on the total, I didn’t notice the file names. I’ll dig into it.