403Webshell
Server IP : 61.19.30.66  /  Your IP : 216.73.216.15
Web Server : Apache/2.2.22 (Ubuntu)
System : Linux klw 3.11.0-15-generic #25~precise1-Ubuntu SMP Thu Jan 30 17:39:31 UTC 2014 x86_64
User : www-data ( 33)
PHP Version : 5.3.10-1ubuntu3.48
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,
MySQL : ON  |  cURL : OFF  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : OFF
Directory :  /usr/lib/python2.7/dist-packages/twisted/test/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/lib/python2.7/dist-packages/twisted/test/time_helpers.pyc
ó
[łXMc@sEdZddlZejddeddƒdefd„ƒYZdS(	s’
Helper class to writing deterministic time-based unit tests.

Do not use this module.  It is a lie.  See L{twisted.internet.task.Clock}
instead.
i˙˙˙˙Nsetwisted.test.time_helpers is deprecated since Twisted 10.0.  See twisted.internet.task.Clock instead.tcategoryt
stacklevelitClockcBsAeZdZdZd„Zd„Zd„Zd„Zd„ZRS(s§
    A utility for monkey-patches various parts of Twisted to use a
    simulated timing mechanism. DO NOT use this class. Use
    L{twisted.internet.task.Clock}.
    gcCs|jS(s4
        Return the current simulated time.
        (trightNow(tself((s=/usr/lib/python2.7/dist-packages/twisted/test/time_helpers.pyt__call__scCs)ddlm}|j|_||_dS(sm
        Monkeypatch L{twisted.internet.reactor.seconds} to use
        L{__call__} as a time source
        i˙˙˙˙(treactorN(ttwisted.internetRtsecondstreactor_original(RR((s=/usr/lib/python2.7/dist-packages/twisted/test/time_helpers.pytinstall scCs ddlm}|j|_dS(sS
        Remove the monkeypatching of L{twisted.internet.reactor.seconds}.
        i˙˙˙˙(RN(RRR	R(RR((s=/usr/lib/python2.7/dist-packages/twisted/test/time_helpers.pyt	uninstall*scCs|j|7_dS(s˜
        Adjust the current simulated time upward by the given C{amount}.

        Note that this does not cause any scheduled calls to be run.
        N(R(Rtamount((s=/usr/lib/python2.7/dist-packages/twisted/test/time_helpers.pytadjust1scCsat|ƒ}|jƒ|j|jƒƒx1|r\|j|jƒƒ|jƒ|jƒq,WdS(sŘ
        Iterate the given C{reactor} with increments of time specified
        by C{timings}.

        For each timing, the simulated time will be L{adjust}ed and
        the reactor will be iterated twice.
        N(tlisttreverseR
tpoptiterate(RRttimings((s=/usr/lib/python2.7/dist-packages/twisted/test/time_helpers.pytpump9s
	
(	t__name__t
__module__t__doc__RRR
RR
R(((s=/usr/lib/python2.7/dist-packages/twisted/test/time_helpers.pyRs		
		(RtwarningstwarntDeprecationWarningtobjectR(((s=/usr/lib/python2.7/dist-packages/twisted/test/time_helpers.pyt<module>	s



Youez - 2016 - github.com/yon3zu
LinuXploit