diff options
Diffstat (limited to 'doc/whatsnew/2.13.rst')
-rw-r--r-- | doc/whatsnew/2.13.rst | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/doc/whatsnew/2.13.rst b/doc/whatsnew/2.13.rst index 9c7d93d2c..da595d225 100644 --- a/doc/whatsnew/2.13.rst +++ b/doc/whatsnew/2.13.rst @@ -80,3 +80,17 @@ Other Changes * The ``testutils`` for unittests now accept ``end_lineno`` and ``end_column``. Tests without these will trigger a ``DeprecationWarning``. + +* ``missing-raises-doc`` will now check the class hierarchy of the raised exceptions + + .. code-block:: python + + def my_function() + """My function. + + Raises: + Exception: if something fails + """ + raise ValueError + + Closes #4955 |