File: //usr/lib/python3/dist-packages/twisted/internet/test/__pycache__/test_abstract.cpython-310.pyc
o
�b� � @ s0 d Z ddlmZ ddlmZ G dd� de�ZdS )zY
Tests for L{twisted.internet.abstract}, a collection of APIs for implementing
reactors.
� )�
isIPv6Address)�SynchronousTestCasec @ 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 � | � 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 � zIPv6AddressTests.test_emptyc C r )zA
A single C{":"} is not an IPv6 address literal.
�:Nr r r r r �
test_colon r zIPv6AddressTests.test_colonc C r )z@
C{"::1"} is the IPv6 loopback address literal.
z::1N��
assertTruer r r r r �
test_loopback r zIPv6AddressTests.test_loopbackc C �. | � td�� | � td�� | � td�� dS )z�
An otherwise valid IPv6 address literal may also include a C{"%"}
followed by an arbitrary scope identifier.
zfe80::1%eth0� fe80::2%1zfe80::3%en2Nr r r r r �test_scopeID&