| 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 : |
U
W[| � @ s� d Z ddlmZmZ ddlZddlmZ ddlmZ zddl m
Z
mZ dZW n e
k
rd dZY nX dd � Zd
d� ZG dd
� d
e�ZdS )z.
Tests for L{twisted.internet.kqueuereactor}.
� )�division�absolute_importN)�implementer)�TestCase)�
KQueueReactor�_IKQueuezKQueue not available.c O s dS )z
Do nothing.
N� )�args�kwargsr r �J/usr/lib/python3/dist-packages/twisted/internet/test/test_kqueuereactor.py�_fakeKEvent s r c s$ t t�G � �fdd�dt��}|� S )a
Create a fake that implements L{_IKQueue}.
@param testKQueue: Something that acts like L{select.kqueue}.
@param testKEvent: Something that acts like L{select.kevent}.
@return: An implementation of L{_IKQueue} that includes C{testKQueue} and
C{testKEvent}.
c s e Zd Z�Z� ZdS )z"makeFakeKQueue.<locals>.FakeKQueueN)�__name__�
__module__�__qualname__ZkqueueZkeventr ��
testKEvent�
testKQueuer r �
FakeKQueue'