%PDF- %PDF-
Direktori : /lib/python3/dist-packages/twisted/internet/test/__pycache__/ |
Current File : //lib/python3/dist-packages/twisted/internet/test/__pycache__/test_epollreactor.cpython-312.pyc |
� Ϫ�f� � � � d Z ddlmZ ddlmZ ddlmZ ddlmZ ddl m Z ddlmZ G d � d � Z ee d� G d� d e � � Zy# e $ r dZY �,w xY w)z- Tests for L{twisted.internet.epollreactor}. � )�skipIf��ConnectionDone)�_ContinuousPolling)�Clock)�TestCase)�epollreactorNc �. � e Zd ZdZd� Zd� Zd� Zd� Zd� Zy)� DescriptorzF Records reads and writes, as if it were a C{FileDescriptor}. c � � g | _ y �N)�events��selfs �I/usr/lib/python3/dist-packages/twisted/internet/test/test_epollreactor.py�__init__zDescriptor.__init__ s � ���� c � � y)N� � r s r �filenozDescriptor.fileno s � �r c �: � | j j d� y )N�read�r �appendr s r �doReadzDescriptor.doRead s � ������6�"r c �: � | j j d� y )N�writer r s r �doWritezDescriptor.doWrite# s � ������7�#r c �d � |j t � | j j d� y )N�lost)�trapr r r )r �reasons r �connectionLostzDescriptor.connectionLost&