+
    bVi                     r    ^ RI Ht ^ RIHt ^ RIHt RtRtRtR R lt	 ! R	 R
]]
,          4      tR R ltR# )    )BaseMatcherDescription)MatcherzJon ReidzCopyright 2011 hamcrest.orgzBSD, see License.txtc                0    V ^8  d   QhR\         R\         /#    stringreturn)str)formats   "S/usr/lib/python3/dist-packages/hamcrest/library/text/isequal_ignoring_whitespace.py__annotate__r   
   s      s s     c                     R pRpV  F8  pVP                  4       '       d   V'       g
   VR,          pRpK.  W,          pRpK:  	  VP                  4       # ) T F)isspacestrip)r
   resultlast_was_space	characters   &   r   
stripspacer   
   sQ    FN	!#!NF"N  <<>r   c                   V   a  ] tR t^t o V 3R lR ltV 3R lR ltV 3R lR ltRtV tR# )	IsEqualIgnoringWhiteSpacec                   < V ^8  d   QhRR/# )r	   r   N )r   __classdict__s   "r   r   &IsEqualIgnoringWhiteSpace.__annotate__   s     2 2$ 2r   c                t    \        V\        4      '       g   \        R 4      hWn        \	        V4      V n        R# )z)IsEqualIgnoringWhiteSpace requires stringN)
isinstancer   	TypeErrororiginal_stringr   stripped_string)selfr
   s   &&r   __init__"IsEqualIgnoringWhiteSpace.__init__   s.    &#&&GHH%)&1r   c                &   < V ^8  d   QhRS[ RS[/# )r	   itemr   )r   bool)r   r   s   "r   r   r      s     8 8S 8T 8r   c                b    \        V\        4      '       g   R # V P                  \        V4      8H  # )F)r!   r   r$   r   )r%   r)   s   &&r   _matches"IsEqualIgnoringWhiteSpace._matches   s(    $$$##z$'777r   c                $   < V ^8  d   QhRS[ RR/# )r	   descriptionr   Nr   )r   r   s   "r   r   r   $   s     d d{ dt dr   c                Z    VP                  V P                  4      P                  R 4       R# )z ignoring whitespaceN)append_description_ofr#   append_text)r%   r/   s   &&r   describe_to%IsEqualIgnoringWhiteSpace.describe_to$   s"    ))$*>*>?KKLbcr   )r#   r$   N)	__name__
__module____qualname____firstlineno__r&   r,   r3   __static_attributes____classdictcell__)r   s   @r   r   r      s%     2 28 8
d dr   r   c                F    V ^8  d   QhR\         R\        \         ,          /# r   )r   r   )r   s   "r   r   r   (   s     - - - -r   c                    \        V 4      # )a  Matches if object is a string equal to a given string, ignoring
differences in whitespace.

: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 in runs of whitespace.

Example::

    equal_to_ignoring_whitespace("hello world")

will match ``"hello   world"``.

)r   )r
   s   &r   equal_to_ignoring_whitespacer=   (   s      %V,,r   N)hamcrest.core.base_matcherr   hamcrest.core.descriptionr   hamcrest.core.matcherr   
__author____copyright____license__r   r   r   r=   r   r   r   <module>rD      s:    2 1 )
-$dC 0 d -r   