Файловый менеджер - Редактировать - /opt/imh-python/lib/python3.9/site-packages/twisted/internet/test/__pycache__/test_abstract.cpython-39.pyc
Ðазад
a k�h� � @ 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 s | � td�� dS )zB The empty string is not an IPv6 address literal. � N��assertFalser ��self� r ��/root/rpmbuild/BUILDROOT/imh-python39-modules-3.9.7-92.el8.x86_64/opt/imh-python/lib/python3.9/site-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 s zIPv6AddressTests.test_loopbackc C s. | � 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&