Skip to content

Commit

Permalink
syntax highlight
Browse files Browse the repository at this point in the history
  • Loading branch information
wimglenn committed Jun 9, 2024
1 parent 3f932d3 commit fcde41f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ pytest-raisin
Plugin putting a higher-level interface to `pytest.raises <https://docs.pytest.org/en/latest/assert.html#assertions-about-expected-exceptions>`_.
It allows to use an exception *instance* as the expected value, which would be compared with the actual exception (if any) based upon the type and the ``args`` attribute.

.. code-block:: bash
.. code-block:: python
# Old-skool:
with pytest.raises(SystemExit) as cm:
Expand Down

0 comments on commit fcde41f

Please sign in to comment.