test_exc_chain_repr_without_traceback: use ids
This commit is contained in:
parent
5c00226847
commit
dd6cf7c172
|
@ -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",
|
||||
),
|
||||
],
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue