Ë
    ÉÓÐeO  ã                   óf   — d dl mZ d dlmZ d dlmZ dZdZdZ G d„ dee	   «      Z
d	e	d
ee	   fd„Zy)é    )ÚBaseMatcher)ÚDescription)ÚMatcherzJon ReidzCopyright 2011 hamcrest.orgzBSD, see License.txtc                   ó<   — e Zd Zdeddfd„Zdedefd„Zdeddfd„Zy)	ÚIsEqualIgnoringCaseÚstringÚreturnNc                 ór   — t        |t        «      st        d«      ‚|| _        |j	                  «       | _        y )Nz#IsEqualIgnoringCase requires string)Ú
isinstanceÚstrÚ	TypeErrorÚoriginal_stringÚlowerÚlowered_string)Úselfr   s     úM/usr/lib/python3/dist-packages/hamcrest/library/text/isequal_ignoring_case.pyÚ__init__zIsEqualIgnoringCase.__init__   s.   € Ü˜&¤#Ô&ÜÐAÓBÐBØ%ˆÔØ$Ÿl™l›nˆÕó    Úitemc                 ó^   — t        |t        «      sy| j                  |j                  «       k(  S )NF)r   r   r   r   )r   r   s     r   Ú_matcheszIsEqualIgnoringCase._matches   s&   € Ü˜$¤Ô$ØØ×"Ñ" d§j¡j£lÑ2Ð2r   Údescriptionc                 óX   — |j                  | j                  «      j                  d«       y )Nz ignoring case)Úappend_description_ofr   Úappend_text)r   r   s     r   Údescribe_tozIsEqualIgnoringCase.describe_to   s"   € Ø×)Ñ)¨$×*>Ñ*>Ó?×KÑKÐL\Õ]r   )	Ú__name__Ú
__module__Ú__qualname__r   r   Úboolr   r   r   © r   r   r   r   
   s>   „ ð-˜sð - tó -ð3˜Sð 3 Tó 3ð
^ {ð ^°tô ^r   r   r   r	   c                 ó   — t        | «      S )a“  Matches if object is a string equal to a given string, ignoring case
    differences.

    :param string: The string to compare against as the expected value.

    This matcher first checks whether the evaluated object is a string. If so,
    it compares it with ``string``, ignoring differences of case.

    Example::

        equal_to_ignoring_case("hello world")

    will match "heLLo WorlD".

    )r   )r   s    r   Úequal_to_ignoring_caser#      s   € ô  ˜vÓ&Ð&r   N)Úhamcrest.core.base_matcherr   Úhamcrest.core.descriptionr   Úhamcrest.core.matcherr   Ú
__author__Ú__copyright__Ú__license__r   r   r#   r!   r   r   ú<module>r*      sG   ðÝ 2Ý 1Ý )à€
Ø-€Ø$€ô^˜+ cÑ*ô ^ð ' 3ð '¨7°3©<ô 'r   