HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux ip-10-0-8-47 6.8.0-1021-aws #23~22.04.1-Ubuntu SMP Tue Dec 10 16:31:58 UTC 2024 aarch64
User: ubuntu (1000)
PHP: 8.1.2-1ubuntu2.22
Disabled: NONE
Upload Files
File: //usr/lib/python3/dist-packages/hamcrest/library/text/__pycache__/substringmatcher.cpython-310.pyc
o

(]^�@sPddlmZmZddlmZddlmZdZdZdZ	Gdd�dee
ed	�Zd
S)�)�ABCMeta�abstractmethod)�BaseMatcher)�DescriptionzJon ReidzCopyright 2011 hamcrest.orgzBSD, see License.txtc@s4eZdZd
dd�Zdeddfdd�Zedd	��ZdS)�SubstringMatcher�returnNcCs$t|t�s
t|jjd��||_dS)Nz requires string)�
isinstance�str�	TypeError�	__class__�__name__�	substring)�selfr
�r�H/usr/lib/python3/dist-packages/hamcrest/library/text/substringmatcher.py�__init__s

zSubstringMatcher.__init__�descriptioncCs&|�d��|����d��|j�dS)Nz	a string � )�append_text�relationship�append_description_ofr
)rrrrr�describe_tos�zSubstringMatcher.describe_tocCsdS)Nr)rrrrrszSubstringMatcher.relationship)rN)r�
__module__�__qualname__rrrrrrrrrrs

r)�	metaclassN)�abcrr�hamcrest.core.base_matcherr�hamcrest.core.descriptionr�
__author__�
__copyright__�__license__r	rrrrr�<module>s