AnonSec Shell
Server IP : 209.38.156.173  /  Your IP : 216.73.216.122   [ Reverse IP ]
Web Server : Apache/2.4.52 (Ubuntu)
System : Linux lakekumayuhotel 5.15.0-136-generic #147-Ubuntu SMP Sat Mar 15 15:53:30 UTC 2025 x86_64
User : root ( 0)
PHP Version : 8.1.2-1ubuntu2.22
Disable Function : NONE
Domains : 2 Domains
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /lib/python3/dist-packages/hamcrest/library/text/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     [ BACKUP SHELL ]     [ JUMPING ]     [ MASS DEFACE ]     [ SCAN ROOT ]     [ SYMLINK ]     

Current File : /lib/python3/dist-packages/hamcrest/library/text/__pycache__/isequal_ignoring_case.cpython-310.pyc
o

(]^O�@s^ddlmZddlmZddlmZdZdZdZGdd�dee	�Z
d	e	d
ee	fdd�Zd
S)�)�BaseMatcher)�Description)�MatcherzJon ReidzCopyright 2011 hamcrest.orgzBSD, see License.txtc@sBeZdZdeddfdd�Zdedefdd�Zd	eddfd
d�ZdS)�IsEqualIgnoringCase�string�returnNcCs&t|t�s	td��||_|��|_dS)Nz#IsEqualIgnoringCase requires string)�
isinstance�str�	TypeError�original_string�lower�lowered_string)�selfr�r�M/usr/lib/python3/dist-packages/hamcrest/library/text/isequal_ignoring_case.py�__init__s
zIsEqualIgnoringCase.__init__�itemcCst|t�sdS|j|��kS)NF)rr	r
r)rrrrr�_matchess
zIsEqualIgnoringCase._matches�descriptioncCs|�|j��d�dS)Nz ignoring case)�append_description_ofr�append_text)rrrrr�describe_toszIsEqualIgnoringCase.describe_to)	�__name__�
__module__�__qualname__r	r�boolrrrrrrrr
srrrcCst|�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)rrrr�equal_to_ignoring_casesrN)�hamcrest.core.base_matcherr�hamcrest.core.descriptionr�hamcrest.core.matcherr�
__author__�
__copyright__�__license__r	rrrrrr�<module>s

Anon7 - 2022
AnonSec Team