🧪 Unmeasure xfail tests

These tests are known to only be executed partially or not at all. So
we always get incomplete, missing, and sometimes flaky, coverage in
the test functions that are expected to fail.

This change updates the ``coverage.py`` config to prevent said tests
from influencing the coverage level measurement.
This commit is contained in:
Sviatoslav Sydorenko
2024-06-25 23:25:04 +02:00
parent 53bf188999
commit 634a83df94

View File

@@ -29,3 +29,5 @@ exclude_lines =
^\s*if TYPE_CHECKING:
^\s*@overload( |$)
^\s*@pytest\.mark\.xfail