Skip to content

Regression with [paths] in 6.x #1280

Closed
Closed
@lhupfeldt

Description

@lhupfeldt

[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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions