We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
In
python-humanfriendly/humanfriendly/testing.py
Line 542 in 6758ac6
return
finally
This means that if the try block raises AssertionError, this will not be raised (in contradiction to the function's docstring).
AssertionError
See also https://docs.python.org/3/tutorial/errors.html#defining-clean-up-actions.
In
python-humanfriendly/humanfriendly/testing.py
Line 542 in 6758ac6
returnstatement in afinallyblock, which would swallow any in-flight exception.This means that if the try block raises
AssertionError, this will not be raised (in contradiction to the function's docstring).See also https://docs.python.org/3/tutorial/errors.html#defining-clean-up-actions.