Server IP : 15.235.198.142 / Your IP : 216.73.216.0 Web Server : Apache/2.4.58 (Ubuntu) System : Linux ballsack 6.8.0-45-generic #45-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 30 12:02:04 UTC 2024 x86_64 User : www-data ( 33) PHP Version : 8.3.6 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /lib/python3/dist-packages/twisted/internet/test/__pycache__/ |
Upload File : |
� Ϫ�f/@ � �@ � d Z g d�ZddlZddlZddlZddlmZmZmZm Z m Z mZmZm Z ddlmZ ddlmZ ddlmZ ddlmZ dd lmZ dd lmZ ddlmZmZ ddlmZm Z erdd l!m"Z" ddl!m#Z$ e$Z# G d� de&� Z'd� Z(dd�Z) G d� d� Z*de+ddfd�Z,e,Z-y# e%$ r dZ#Y �0w xY w)a� Utilities for unit testing reactor implementations. The main feature of this module is L{ReactorBuilder}, a base class for use when writing interface/blackbox tests for reactor implementations. Test case classes for reactor features should subclass L{ReactorBuilder} instead of L{SynchronousTestCase}. All of the features of L{SynchronousTestCase} will be available. Additionally, the tests will automatically be applied to all available reactor implementations. )�TestTimeoutError�ReactorBuilder�needsRunningReactor� N)� TYPE_CHECKING�Callable�Dict�Optional�Sequence�Type�Union�cast)� Interface��log)�_fullyQualifiedName)�Failure)�namedAny)�platform)�SkipTest�SynchronousTestCase)�DEFAULT_TIMEOUT_DURATION�acquireAttribute��asyncioreactor)�processc � � e Zd ZdZy)r zm The reactor was still running after the timeout period elapsed in L{ReactorBuilder.runReactor}. N)�__name__� __module__�__qualname__�__doc__� � �E/usr/lib/python3/dist-packages/twisted/internet/test/reactormixins.pyr r / s � �r"