diff options
author | Daniel Hahler <git@thequod.de> | 2019-11-07 12:25:46 +0100 |
---|---|---|
committer | Daniel Hahler <git@thequod.de> | 2019-11-07 12:25:46 +0100 |
commit | dd6cf7c172afbe6a67483e6a5986432f2f5f043f (patch) | |
tree | 4c1e212c5b6dc102f31c932e5828bac548f1a0d2 /testing/code | |
parent | 5c00226847e41f734b496e3ba7c7fb8ded0f6739 (diff) | |
download | pytest-dd6cf7c172afbe6a67483e6a5986432f2f5f043f.tar.gz |
test_exc_chain_repr_without_traceback: use ids
Diffstat (limited to 'testing/code')
-rw-r--r-- | testing/code/test_excinfo.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/testing/code/test_excinfo.py b/testing/code/test_excinfo.py index b431bb66d..3fa561225 100644 --- a/testing/code/test_excinfo.py +++ b/testing/code/test_excinfo.py @@ -1229,13 +1229,15 @@ raise ValueError() @pytest.mark.parametrize( "reason, description", [ - ( + pytest.param( "cause", "The above exception was the direct cause of the following exception:", + id="cause", ), - ( + pytest.param( "context", "During handling of the above exception, another exception occurred:", + id="context", ), ], ) |