eddlmZmZddlmZddlmZddlmZdZ dZ dZ edZ Gd d ee Z d ee d ee fd Zy))SequenceTypeVar) BaseMatcher) Description)MatcherzJon ReidzCopyright 2011 hamcrest.orgzBSD, see License.txtTcBeZdZdeeddfdZdedefdZdeddfdZ y) IsInsequencereturnNc||_yNr )selfr s B/usr/lib/python3/dist-packages/hamcrest/library/collection/isin.py__init__z IsIn.__init__s   itemc||jvSrr)rrs r_matchesz IsIn._matchesst}}$$r descriptionc^|jdjddd|jy)Nzone of (z, )) append_text append_listr )rrs r describe_tozIsIn.describe_tos% *66sD#t}}Ur) __name__ __module__ __qualname__rrrboolrrrrrr r sB!!!!%Q%4%V{VtVrr r r ct|S)zMatches 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. )r rs ris_inr$s >rN)typingrrhamcrest.core.base_matcherrhamcrest.core.descriptionrhamcrest.core.matcherr __author__ __copyright__ __license__rr r$r"rrr,sV$21)  - $  CLV;q>V HQK GAJ r