Skip to content

Commit 0ae5dd1

Browse files
committed
Revert "Treat XPASS status as a test failure"
For its immediate goal, this facilitated identifying the XPASS status of TestSubmodule.test_rename and verifying that the revised xfail condition eliminated it. In the test output, XPASS is written as a failure, with strict xfail behavior noted. Contributors less familiar with marking tests xfail may mistake this to mean some behavior of the code under test was broken. So if strict_xfail is to be enabled, it might be best to do that in a pull request devoted to it, and maybe even to add to the docs, about how to recognize and handle newly xpassing tests. This reverts commit 0f8cd4c.
1 parent 82c361e commit 0ae5dd1

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

pyproject.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ filterwarnings = "ignore::DeprecationWarning"
88
python_files = "test_*.py"
99
tmp_path_retention_policy = "failed"
1010
testpaths = "test" # Space separated list of paths from root e.g test tests doc/testing.
11-
xfail_strict = true # Treat the XPASS status as a test failure (unless strict=False is passed).
1211
# --cov coverage
1312
# --cov-report term # send report to terminal term-missing -> terminal with line numbers html xml
1413
# --cov-report term-missing # to terminal with line numbers

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy