Your IP : 216.73.216.52


Current Path : /usr/lib/python3/dist-packages/hamcrest/library/collection/__pycache__/
Upload File :
Current File : //usr/lib/python3/dist-packages/hamcrest/library/collection/__pycache__/isin.cpython-38.pyc

U

�b�V�@s4ddlmZdZdZdZGdd�de�Zdd�Zd	S)
�)�BaseMatcherzJon ReidzCopyright 2011 hamcrest.orgzBSD, see License.txtc@s$eZdZdd�Zdd�Zdd�ZdS)�IsIncCs
||_dS�N��sequence)�selfr�r�B/usr/lib/python3/dist-packages/hamcrest/library/collection/isin.py�__init__
sz
IsIn.__init__cCs
||jkSrr)r�itemrrr	�_matches
sz
IsIn._matchescCs|�d��ddd|j�dS)Nzone of �(z, �))Zappend_textZappend_listr)rZdescriptionrrr	�describe_tos
�zIsIn.describe_toN)�__name__�
__module__�__qualname__r
rrrrrr	rsrcCst|�S)z�Matches if evaluated object is present in a given sequence.

    :param sequence: The sequence to search.

    This matcher invokes the ``in`` membership operator to determine if the
    evaluated object is a member of the sequence.

    )rrrrr	�is_ins	rN)Zhamcrest.core.base_matcherr�
__author__Z
__copyright__Z__license__rrrrrr	�<module>s