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

This commit is contained in:
Sviatoslav Sydorenko (Святослав Сидоренко) 2024-07-01 16:21:35 +02:00 committed by GitHub
commit 1a8394ed89
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 8 additions and 0 deletions

View File

@ -29,3 +29,5 @@ exclude_lines =
^\s*if TYPE_CHECKING:
^\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`