Skip to content

Commit 4f911e2

Browse files
committed
test: Disable unwanted tracebacks on pytest xfails
pytest-dev/pytest#11233 overloaded pytest's summary parameter to make it also add tracebacks for xfailed tests. This makes finding the real failures amongst the new xfail error messages painful. Disable this which unfortunately means that we also loose the xfails and xpasses from the short test summary.
1 parent c4f5f79 commit 4f911e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ filterwarnings =
167167
#
168168
# pytest -k test_name
169169
#
170-
addopts = "-v" "-rsxXfE" "--doctest-glob="
170+
addopts = "-v" "-rsfE" "--doctest-glob="
171171

172172
markers =
173173
darwin: only run on macOS

0 commit comments

Comments
 (0)