From 0a40b2a5f6ea90504dbd5ded5f02bee49561000a Mon Sep 17 00:00:00 2001 From: Philip Meier Date: Tue, 20 Jul 2021 17:51:25 +0200 Subject: [PATCH 1/2] add `pytest.ini` --- pytest.ini | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 pytest.ini diff --git a/pytest.ini b/pytest.ini new file mode 100644 index 00000000000..8f2a5e42c46 --- /dev/null +++ b/pytest.ini @@ -0,0 +1,10 @@ +[pytest] +addopts = + # show summary of all tests that did not pass + -ra + # Make tracebacks shorter + --tb=short + # enable all warnings + -Wd +testpaths = + test From b6557a9cc4426c9779c189d0f532c2c24b58b84f Mon Sep 17 00:00:00 2001 From: Philip Meier Date: Tue, 20 Jul 2021 19:04:28 +0200 Subject: [PATCH 2/2] use native traceback --- pytest.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pytest.ini b/pytest.ini index 8f2a5e42c46..b8f0709b571 100644 --- a/pytest.ini +++ b/pytest.ini @@ -3,7 +3,7 @@ addopts = # show summary of all tests that did not pass -ra # Make tracebacks shorter - --tb=short + --tb=native # enable all warnings -Wd testpaths =