;An HTML attachment was scrubbed...
>URL:
>http://twistedmatrix.com/pipermail/twisted-python/attachments/20120523/3e0
>655d0/attachment.html
>
>--
>
>Message: 3
>Date: Thu, 24 May 2012 00:04:00 +0200
>From: Laurens Van Houtven <_...@lvh.cc
On 05/23/2012 06:04 PM, Laurens Van Houtven wrote:
> You're supposed to clean up whatever junk you left in the reactor after your
> test. Do that in the tearDown method.
>
An excellent way to do that is to not use the reactor for scheduling
time in tests; this has the additional benefit of lettin
You're supposed to clean up whatever junk you left in the reactor after your
test. Do that in the tearDown method.
cheers
lvh
On 23 May 2012, at 23:30, Conway, Nicholas J wrote:
> Hi,
>
> I have a class that needs to kick off a method the repeatedly gets call every
> so many seconds, lets s
Hi,
I have a class that needs to kick off a method the repeatedly gets call every
so many seconds, lets say 2 seconds.
I chose to use task.deferLater to do this, but seems like LoopingCall gives
similar results..
I've boiled it down to the following example
from twisted.internet import re