| 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 ddl m
Z
ddlmZ edkrbdd l
mZ ndd
l
mZ G dd� de�ZG d
d� de�ZG dd� dej�ZdS )zK
Tests for the internal implementation details of L{twisted.internet.udp}.
� )�division�absolute_importN)�unittest)�DatagramProtocol)�udp)�platformTypeZwin32)�WSAEWOULDBLOCK)�EWOULDBLOCKc @ s( e Zd ZdZdd� Zdd� Zdd� ZdS ) �StringUDPSocketa
A fake UDP socket object, which returns a fixed sequence of strings and/or
socket errors. Useful for testing.
@ivar retvals: A C{list} containing either strings or C{socket.error}s.
@ivar connectedAddr: The address the socket is connected to.
c C s || _ d | _d S �N)�retvals�
connectedAddr)�selfr � r �J/usr/lib/python3/dist-packages/twisted/internet/test/test_udp_internals.py�__init__"