data_suffix being appened to data_file name when it's None / False. · Issue #989 · nedbat/coveragepy (original) (raw)

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