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
This context manager was built to provide a commandline interface. Since during the execution of the rest of the code, a number of subprocess calls happen and, well, there's always a chance of unexpected errors there, I placed this try/except in there. This ensures that in case of unexpected error, as much info as possible is printed.
However, I have found that I cannot test this with just a "simple statement". The most basic test I can run is this:
This context manager was built to provide a commandline interface. Since during the execution of the rest of the code, a number of subprocess calls happen and, well, there's always a chance of unexpected errors there, I placed this try/except in there. This ensures that in case of unexpected error, as much info as possible is printed.
However, I have found that I cannot test this with just a "simple statement". The most basic test I can run is this:
Now, I did read #93 so I am aware of the possible work arounds.
But I thought I might file this bug report in case you do see a simpler way of testing it, or if maybe you saw a way to add it as an exception.
The text was updated successfully, but these errors were encountered: