monkey patching 'debug' breaks twisted.internet.base.DelayedCall
Bug #684071 reported by
Jelmer Vernooij
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Twisted |
New
|
Undecided
|
Unassigned | ||
testtools |
Triaged
|
Medium
|
Unassigned |
Bug Description
affects testtools
twisted.
whether or not debug was specified to its constructor. It will set
self.creator to traceback.
Later on, in its __str__ it uses the debug attribute to determine
whether or not to add a traceback to the output - a traceback which is
not available in case testtools monkey patched debug to be true.
Btw, apart from this issue the debug code was really useful in tracking
down a bug in the builddmanager yesterday. Thanks for writing it.
Cheers,
jelmer
Changed in testtools: | |
status: | New → Triaged |
importance: | Undecided → Low |
importance: | Low → High |
importance: | High → Undecided |
Changed in testtools: | |
importance: | High → Medium |
tags: | added: twisted |
To post a comment you must log in.
I don't understand this bug. In particular, it's not clear how monkey-patching debug breaks DelayedCall.
It sounds like it might be an issue with DelayedCall itself?