%PDF- %PDF-
Direktori : /lib/python3/dist-packages/twisted/test/__pycache__/ |
Current File : //lib/python3/dist-packages/twisted/test/__pycache__/test_tcp.cpython-312.pyc |
� Ϫ�f � �| � d Z ddlZddlZddlZddlmZ ddlmZmZ ddl m Z ddlmZ ddl Z ddlmZmZmZmZmZ ddlmZ dd lmZmZ dd lmZ ddlmZ ddlmZ dd lm Z m!Z! ddl"m#Z# ddl$m%Z%m&Z& dcd�Z' G d� dej4 � Z( G d� dejR � Z* G d� d� Z+ G d� de+ejR � Z, G d� de+ejZ � Z. G d� de&� Z/ G d� de&� Z0 G d� d ejb � Z2 G d!� d"e.� Z3 G d#� d$e&� Z4 G d%� d&e&� Z5 G d'� d(ejZ � Z6 G d)� d*e&� Z7 G d+� d,ej4 � Z8 G d-� d.ej4 � Z9 G d/� d0ejZ � Z: G d1� d2e&� Z; G d3� d4ej4 � Z< G d5� d6ej4 � Z= G d7� d8ej4 � Z> G d9� d:e>� Z? G d;� d<� Z@ G d=� d>e&e@� ZA G d?� d@ej� � ZC G dA� dBej� � ZE G dC� dDe&� ZF G dE� dFej4 � ZG G dG� dHej4 � ZH G dI� dJejZ � ZI G dK� dLej� � ZJ G dM� dNej� � ZK G dO� dPe&� ZL ee� G dQ� dRe� � ZM G dS� dTejR � ZN G dU� dVe&� ZO G dW� dXe&� ZP G dY� dZe&� ZQ G d[� d\e&� ZR G d]� d^e&� ZS G d_� d`e&� ZT ddlUZU eUj� eUj� � d daz ZX eYeAdbeX� y# eZ$ r Y yw xY w)dz. Tests for implementations of L{IReactorTCP}. � N��wraps)�Callable�Optional)�skipIf)�implementer)�defer�error� interfaces�protocol�reactor)�IPv4Address)�IHalfCloseableProtocol� IPullProducer)�Protocol)�AccumulatingProtocol)�policies)�err�msg)�platform)�SkipTest�TestCasec �� � ��� ddl m} t j � ��� fd�}|j |� ��fd�}�j |� �j |� }|j �j � �S )z� Poor excuse for an event notification helper. This polls a condition and calls back a Deferred when it is seen to be true. Do not use this function. r )�taskc �<