You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think that it would be useful if we can use assertRaises as context manager the same way as in unittest.
That way allows to organize code better (block of code) and store raised exception to variable for further inspection.
The text was updated successfully, but these errors were encountered:
I think that it would be useful if we can use assertRaises as context manager the same way as in unittest.
That way allows to organize code better (block of code) and store raised exception to variable for further inspection.
The text was updated successfully, but these errors were encountered: