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'm looking into it, but didn't manage to write a fix yet. I seems like you're triggering #16, that's why you're falling into this if statement in line 62. So, as a temporary workaround, if you can get rid of any print statements or anything else in the test that writes to stdout you would probably no hit this bug.
I'll upload a fix as soon as I find a way to get the original arguments in the context nose gives to me.
This issue happens when there is captured stdout (so nose gives us the
exception value as a string instead of an exception object) and we try to
instantiate it using the exception class (we do that as a workaround for #16).
If the exception needs more than one argument to be instantiated, it will
receive only one (the string with the captured output).
I still need to find a fix for this, but it may very well be a change in the
way we use traceback.print_exception since we don't seem to have access to the
original exception arguments here.
Here: https://github.com/flavioamieiro/nose-ipdb/blob/master/ipdbplugin.py#L62, which supplies a single argument.
For example:
Thanks for the wonderful package!
The text was updated successfully, but these errors were encountered: