Skip to content

Commit

Permalink
test: Disable unwanted tracebacks on pytest xfails
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
bwoodsend committed May 28, 2024
1 parent 75838e4 commit 510aa52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ filterwarnings =
#
# pytest -k test_name
#
addopts = "-v" "-rsxXfE" "--doctest-glob="
addopts = "-v" "-rsfE" "--doctest-glob="

markers =
darwin: only run on macOS
Expand Down

0 comments on commit 510aa52

Please sign in to comment.