WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Commit 1ff958c

Browse files
committed
Exclude tests marked as xfail from coverage
These are either chronically uncovered up to a certain line or have flaky coverage. Either way, having them in is rather harmful for measurements.
1 parent 785ed5e commit 1ff958c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.coveragerc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,7 @@ omit =
44
piptools/_compat/*
55

66
[report]
7+
exclude_also =
8+
^\s*@pytest\.mark\.xfail
79
include = piptools/*, tests/*
810
fail_under = 99

0 commit comments

Comments
 (0)