From 1cc5b113aca26340ea260afd58f81a8b1fd46466 Mon Sep 17 00:00:00 2001 From: Christoph Anton Mitterer Date: Thu, 3 Aug 2023 16:27:33 +0200 Subject: [PATCH] doc: further minor improvements to parametrizing conditional raising Signed-off-by: Christoph Anton Mitterer --- doc/en/example/parametrize.rst | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/doc/en/example/parametrize.rst b/doc/en/example/parametrize.rst index 1c940f423..4ea6f6e65 100644 --- a/doc/en/example/parametrize.rst +++ b/doc/en/example/parametrize.rst @@ -685,5 +685,6 @@ For example: with expectation as e: assert (6 / example_input) == e -In the example above, the first three test cases should run unexceptionally, -while the fourth should raise ``ZeroDivisionError``. +In the example above, the first three test cases should run without any +exceptions, while the fourth should raise a``ZeroDivisionError`` exception, +which is expected by pytest.