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
The context manager exits immediately as soon as an exception is raised i.e. any following assert statements or code within the with context are not executed. For example, the following test case will pass (even with assert 2 == 3):
Therefore, showcase tests need to be updated and the assert statements need to be moved out of the with context to be executed properly. This also exposes a gap in our tests where some of them are incorrectly passing (since the assertion does not occur).
The text was updated successfully, but these errors were encountered:
The context manager exits immediately as soon as an exception is raised i.e. any following assert statements or code within the
with
context are not executed. For example, the following test case will pass (even withassert 2 == 3
):Therefore, showcase tests need to be updated and the assert statements need to be moved out of the
with
context to be executed properly. This also exposes a gap in our tests where some of them are incorrectly passing (since the assertion does not occur).The text was updated successfully, but these errors were encountered: