Skip to content

data_suffix being appened to data_file name when it's None / False. #989

Closed
@amanagr

Description

@amanagr

When we set data_suffix to False / None, data_file's is appended with a suffix like .coverage.ubuntu-bionic.2681.658565. The documentation (https://coverage.readthedocs.io/en/coverage-5.1/api_coverage.html?highlight=data_suffix) says, suffix will only be appended when it's value is True, which is not the case here.
Setting data_suffix to "" (empty string) appears to work though.

coverage version = 5.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    apiChanges to the public APIbugSomething isn't workingfixed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions