[Twisted-Python] unpause()

Paul Boehm typo at soniq.net
Fri Jun 28 05:26:26 EDT 2002


On Thu, Jun 27, 2002 at 06:26:37PM -0500, Glyph Lefkowitz wrote:
> I've fixed it, I think.  Care to contribute a test case? ;)
sure:

    def testUnpauseBeforeCallback(self):
        d = defer.Deferred()
        d.pause()
        d.addCallback(self._callback)
        d.unpause()

(this is equivalent to the problems web.widgets had with unpause, I think ;)




More information about the Twisted-Python mailing list