tests: fix equal_with_bash for .coverage files
tests: fix equal_with_bash for .coverage files

Fixes https://github.com/pytest-dev/pytest/issues/4162.

Akasurde/pytest,txomon/pytest,The-Compiler/pytest,nicoddemus/pytest,The-Compiler/pytest,RonnyPfannschmidt/pytest,pytest-dev/pytest,tomviner/pytest,hackebrot/pytest,nicoddemus/pytest,tomviner/pytest,markshao/pytest,alfredodeza/pytest