+
    bVi]                         ^ RI t ^ RIHtHtHtHt ^ RIHt ^ RIH	t	 Rt
RtRtRtRt]! R	4      t]RR
 R ll4       t]RR R ll4       tRR ltR R ltRR R lltR# )    N)OptionalTypeVarcastoverload)Matcher)StringDescriptionzJon ReidzCopyright 2011 hamcrest.orgzBSD, see License.txtTTc                V    V ^8  d   QhR\         R\        \         ,          R\        RR/# )   actual_or_assertionmatcherreasonreturnNr	   r   str)formats   ";/usr/lib/python3/dist-packages/hamcrest/core/assert_that.py__annotate__r      s-      Q  S RV     c                     R # N r   r   r   s   &&&r   assert_thatr          r   c                4    V ^8  d   QhR\         R\        RR/# )r   r   r   r   N)boolr   )r   s   "r   r   r      s!      T 3  r   c                     R # r   r   )r   r   s   &&r   r   r      r   r   c                *   \        V\        4      '       d   \        WVR7       R# \        V \        4      '       d/   \        P                  ! RP                  \        V 4      4      4       \        \        \        V 4      \        \        V4      R7       R# )aH  Asserts that actual value satisfies matcher. (Can also assert plain
boolean condition.)

:param actual: The object to evaluate as the actual value.
:param matcher: The matcher to satisfy as the expected condition.
:param reason: Optional explanation to include in failure description.

``assert_that`` passes the actual value to the matcher for evaluation. If
the matcher is not satisfied, an exception is thrown describing the
mismatch.

``assert_that`` is designed to integrate well with PyUnit and other unit
testing frameworks. The exception raised for an unmet assertion is an
:py:exc:`AssertionError`, which PyUnit reports as a test failure.

With a different set of parameters, ``assert_that`` can also verify a
boolean condition:

.. function:: assert_that(assertion[, reason])

:param assertion:  Boolean condition to verify.
:param reason:  Optional explanation to include in failure description.

This is equivalent to the :py:meth:`~unittest.TestCase.assertTrue` method
of :py:class:`unittest.TestCase`, but offers greater flexibility in test
writing by being a standalone function.

)actualr   r   z"arg1 should be boolean, but was {}	assertionr   N)
isinstancer   _assert_matchwarningswarnr   type_assert_boolr   r   r   r   s   &&&r   r   r      sb    : '7##0&Q)733MM>EEdK^F_`atD*=>tCQXGYZr   c                V    V ^8  d   QhR\         R\        \         ,          R\        RR/# )r   r    r   r   r   Nr   )r   s   "r   r   r   A   s,     * *! *gaj *# *$ *r   c                    VP                  V 4      '       gv   \        4       pVP                  V4      P                  R 4      P                  V4      P                  R4       VP	                  W4       VP                  R4       \        V4      hR# )z
Expected: z
     but: 
N)matchesr   append_textappend_description_ofdescribe_mismatchAssertionError)r    r   r   descriptions   &&& r   r$   r$   A   sv    ??6""')'33NCYY	

+n
%!!&6%[)) #r   c                J    V ^8  d   QhR\         R\        \        ,          RR/# )r   r"   r   r   N)r   r   r   )r   s   "r   r   r   L   s%     % %D %(3- %4 %r   c                 @    V '       g   V'       g   R p\        V4      hR# )zAssertion failedN)r0   r!   s   &&r   r(   r(   L   s    'FV$$ r   ) )Nr4   r   )r%   typingr   r   r   r   hamcrest.core.matcherr    hamcrest.core.string_descriptionr   
__author____copyright____license__
__unittest__tracebackhide__r	   r   r$   r(   r   r   r   <module>r=      su     4 4 ) >
-$
 CL 
 
 
 
"[J*% %r   