From 12cacf6d422a6a3c80b3b0f00a0acb02d30df63d Mon Sep 17 00:00:00 2001 From: danceratopz Date: Mon, 6 May 2024 17:25:52 +0200 Subject: [PATCH] feat(pytest): use --tb=short as default for fill test reports (#542) * feat(pytest): use --tb=short as the default failure traceback style * docs: update changelog * chore: update whitelist --- docs/CHANGELOG.md | 1 + pytest.ini | 1 + whitelist.txt | 1 + 3 files changed, 3 insertions(+) diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md index 9ff425a4f4..1ea28e93b3 100644 --- a/docs/CHANGELOG.md +++ b/docs/CHANGELOG.md @@ -20,6 +20,7 @@ Test fixtures for use by clients are available for each release on the [Github r - ✨ Added EOF fixture format ([#512](https://github.com/ethereum/execution-spec-tests/pull/512)). - ✨ Verify filled EOF fixtures using `evmone-eofparse` during `fill` execution ([#519](https://github.com/ethereum/execution-spec-tests/pull/519)). - ✨ Added `--traces` support when running with Hyperledger Besu ([#511](https://github.com/ethereum/execution-spec-tests/pull/511)). +- ✨ Use pytest's "short" traceback style (`--tb=short`) for failure summaries in the test report for more compact terminal output ([#542](https://github.com/ethereum/execution-spec-tests/pull/542)). ### 🔧 EVM Tools diff --git a/pytest.ini b/pytest.ini index 42e18627b9..6785fd091b 100644 --- a/pytest.ini +++ b/pytest.ini @@ -9,5 +9,6 @@ addopts = -p pytest_plugins.spec_version_checker.spec_version_checker -p pytest_plugins.test_help.test_help -m "not eip_version_check" + --tb short --dist loadscope --ignore tests/cancun/eip4844_blobs/point_evaluation_vectors/ diff --git a/whitelist.txt b/whitelist.txt index 74b078db00..809407473d 100644 --- a/whitelist.txt +++ b/whitelist.txt @@ -300,6 +300,7 @@ todo toml tox Tox +traceback TransactionException trie tstorage