This is an automated email from the ASF dual-hosted git repository.

brondsem pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/allura.git


The following commit(s) were added to refs/heads/master by this push:
     new c542e0384 pytest: short (normal) tracebacks
c542e0384 is described below

commit c542e038477f4621ced1f9a141c249a52089b7b3
Author: Dave Brondsema <[email protected]>
AuthorDate: Mon Apr 24 11:45:32 2023 -0400

    pytest: short (normal) tracebacks
---
 pytest.ini | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pytest.ini b/pytest.ini
index 1ad2b5ecf..9ed74938b 100644
--- a/pytest.ini
+++ b/pytest.ini
@@ -28,7 +28,7 @@ filterwarnings =
     ignore:update is deprecated. Use replace_one, update_one or update_many 
instead.:DeprecationWarning:timermiddleware
     ignore:remove is deprecated. Use delete_one or delete_many 
instead.:DeprecationWarning:timermiddleware
 
-addopts = --pyargs -p no:flaky
+addopts = --pyargs -p no:flaky --tb=short
 
 # our patterns are listed first:  then ".*" and following are defaults from 
https://github.com/pytest-dev/pytest/blob/main/src/_pytest/main.py#L52
 norecursedirs = templates_responsive resources images js data docs public 
*.egg-info __pycache__ .* *.egg _darcs build CVS dist node_modules venv {arch}

Reply via email to