Merge pull request #12531 from webknjaz/maintenance/xfail-no-cover

(cherry picked from commit 1a8394ed89)
This commit is contained in:
Sviatoslav Sydorenko (Святослав Сидоренко) 2024-07-01 16:21:35 +02:00 committed by patchback[bot]
parent 3980206012
commit 1dc3a28805
2 changed files with 8 additions and 0 deletions

View File

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

View File

@ -0,0 +1,6 @@
The coverage reporting configuration has been updated to exclude
pytest's own tests marked as expected to fail from the coverage
report. This has an effect of reducing the influence of flaky
tests on the resulting number.
-- by :user`webknjaz`