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 30, 2024
1 parent 5e96e3b commit 54e2112
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 54e2112

Please sign in to comment.