| 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 ddlmZ ddlmZ G dd� de�ZdS )zY
Tests for L{twisted.internet.abstract}, a collection of APIs for implementing
reactors.
� )�division�absolute_import)�SynchronousTestCase)�
isIPv6Addressc @ s@ e Zd ZdZdd� Zdd� Zdd� Zdd � Zd
d� Zdd
� Z dS )�IPv6AddressTestszw
Tests for L{isIPv6Address}, a function for determining if a particular
string is an IPv6 address literal.
c C s | � td�� dS )zB
The empty string is not an IPv6 address literal.
� N��assertFalser ��self� r �E/usr/lib/python3/dist-packages/twisted/internet/test/test_abstract.py�
test_empty s zIPv6AddressTests.test_emptyc C s | � td�� dS )zA
A single C{":"} is not an IPv6 address literal.
�:Nr r
r r r
�
test_colon s zIPv6AddressTests.test_colonc C s | � td�� dS )z@
C{"::1"} is the IPv6 loopback address literal.
z::1N��
assertTruer r
r r r
�
test_loopback"