Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork939
Commit0f8cd4c
committed
Treat XPASS status as a test failure
This causes full "failure" output to be printed when a test markedxfail unexpectedly passes, and for the test run to be consideredfailing as a result.The immediate purpose of this change is to facilitate efficientidentification of recently introduced wrong or overbroad xfailmarkings.This behavior may eventually become the pytest default (see#1728and references therein), and this could be retained even after thecurrent xpassing tests are investigated, to facilitate timelydetection of tests marked xfail of code that is newly working.(Individual tests decorated `@pytest.mark.xfail` can still beallowed to unexpectedly pass without it being treated like a testfailure, by passing strict=False explicitly.)1 parent2875ffa commit0f8cd4c
1 file changed
+1
-0
lines changedLines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
8 | 8 |
| |
9 | 9 |
| |
10 | 10 |
| |
| 11 | + | |
11 | 12 |
| |
12 | 13 |
| |
13 | 14 |
| |
|
0 commit comments
Comments
(0)