+
    bVi+                     h    ^ RI Ht ^ RIHt ^ RIHt ^ RIHt RtRt	Rt
Rt ! R	 R
]4      tR R ltR# )    )Any)wrap_matcherMatcher)tostringz
Chris RosezCopyright 2011 hamcrest.orgzBSD, see License.txtTc                   h   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V 3R lR ltR	tV t	R
# )EqualityWrapperc                $   < V ^8  d   QhRS[ RR/# )   matcherreturnNr   )format__classdict__s   "M/usr/lib/python3/dist-packages/hamcrest/library/integration/match_equality.py__annotate__EqualityWrapper.__annotate__   s       D     c                    Wn         R # Nr   )selfr   s   &&r   __init__EqualityWrapper.__init__   s    r   c                &   < V ^8  d   QhRS[ RS[/# )r   objr   )r   bool)r   r   s   "r   r   r      s     ) )# )$ )r   c                8    V P                   P                  V4      # r   )r   matches)r   r   s   &&r   __eq__EqualityWrapper.__eq__   s    ||##C((r   c                    < V ^8  d   QhRS[ /# r   r   str)r   r   s   "r   r   r      s       r   c                    \        V 4      # r   )reprr   s   &r   __str__EqualityWrapper.__str__   s    Dzr   c                    < V ^8  d   QhRS[ /# r"   r#   )r   r   s   "r   r   r      s     & &# &r   c                ,    \        V P                  4      # r   )r   r   r'   s   &r   __repr__EqualityWrapper.__repr__   s    %%r   r   N)
__name__
__module____qualname____firstlineno__r   r   r(   r,   __static_attributes____classdictcell__)r   s   @r   r	   r	      s-      ) ) & &r   r	   c                0    V ^8  d   QhR\         R\        /# )r   r   r   )r   r	   )r   s   "r   r   r      s     2 2G 2 2r   c                *    \        \        V 4      4      # )a  Wraps a matcher to define equality in terms of satisfying the matcher.

``match_equality`` allows Hamcrest matchers to be used in libraries that
are not Hamcrest-aware. They might use the equality operator::

    assert match_equality(matcher) == object

Or they might provide a method that uses equality for its test::

    library.method_that_tests_eq(match_equality(matcher))

One concrete example is integrating with the ``assert_called_with`` methods
in Michael Foord's `mock <http://www.voidspace.org.uk/python/mock/>`_
library.

)r	   r   r   s   &r   match_equalityr6      s    " <011r   N)typingr   "hamcrest.core.helpers.wrap_matcherr   hamcrest.core.matcherr    hamcrest.core.string_descriptionr   
__author____copyright____license__
__unittestobjectr	   r6    r   r   <module>rA      s6     ; ) 5
-$
&f &2r   