-
-
Notifications
You must be signed in to change notification settings - Fork 231
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failure in TestExtractStuffAndWhy with Twisted 17.9 #144
Comments
vincentbernat
added a commit
to vincentbernat/structlog
that referenced
this issue
Oct 14, 2017
If a failure is already a Failure instance, don't encapsulate it into a Failure. Keep it as is. Fix hynek#144
I don’t have the time to deal with it immediately, but it seems like it's related to: I’ll need a moment to read/understand what’s actually going on. |
Any news? After looking at the first ticket, I think my fix is correct: |
vincentbernat
added a commit
to vincentbernat/structlog
that referenced
this issue
Nov 14, 2017
If a failure is already a Failure instance, don't encapsulate it into a Failure. Keep it as is. Fix hynek#144
hynek
pushed a commit
that referenced
this issue
Nov 15, 2017
* twisted: don't encapsulate failures twice If a failure is already a Failure instance, don't encapsulate it into a Failure. Keep it as is. Fix #144 * twisted: run tests with older versions of Twisted In versions < 17, Failure is not a subclass of BaseException, while it is in versions > 17.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello,
Following bug #876988 in Debian, when I try to run tests with Twisted 17.9 installed, I get the following error:
Putting some print arounds, the problem is that
isinstance(_stuff, BaseException)
is true, so we create a new encapsulate_stuff
twice. I'll propose a fix shortly.The text was updated successfully, but these errors were encountered: