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

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.coveragerc

+2
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)