Skip to content

Commit 634a83d

Browse files
committed
🧪 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.
1 parent 53bf188 commit 634a83d

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.coveragerc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,5 @@ exclude_lines =
2929

3030
^\s*if TYPE_CHECKING:
3131
^\s*@overload( |$)
32+
33+
^\s*@pytest\.mark\.xfail

0 commit comments

Comments
 (0)