403Webshell
Server IP : 138.197.176.125  /  Your IP : 216.73.217.54
Web Server : Apache/2.4.41 (Ubuntu)
System : Linux SuiteCRM-8 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
User : root ( 0)
PHP Version : 8.3.19
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /lib/python3/dist-packages/hamcrest/library/object/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /lib/python3/dist-packages/hamcrest/library/object/__pycache__/hasstring.cpython-38.pyc
U

�b�V��@s@ddlmZddlmZdZdZdZGdd�de�Zdd	�Zd
S)�)�BaseMatcher)�wrap_matcherzJon ReidzCopyright 2011 hamcrest.orgzBSD, see License.txtc@s$eZdZdd�Zdd�Zdd�ZdS)�	HasStringcCs
||_dS�N)�str_matcher)�selfr�r�C/usr/lib/python3/dist-packages/hamcrest/library/object/hasstring.py�__init__szHasString.__init__cCs|j�t|��Sr)rZmatches�str)r�itemrrr	�_matchesszHasString._matchescCs|�d��|j�dS)Nzan object with str )Zappend_textZappend_description_ofr)rZdescriptionrrr	�describe_tos
�zHasString.describe_toN)�__name__�
__module__�__qualname__r
r
rrrrr	r	srcCstt|��S)aRMatches if ``str(item)`` satisfies a given matcher.

    :param match: The matcher to satisfy, or an expected value for
        :py:func:`~hamcrest.core.core.isequal.equal_to` matching.

    This matcher invokes the :py:func:`str` function on the evaluated object to
    get its length, passing the result to a given matcher for evaluation. If
    the ``match`` argument is not a matcher, it is implicitly wrapped in an
    :py:func:`~hamcrest.core.core.isequal.equal_to` matcher to check for
    equality.

    Examples::

        has_string(starts_with('foo'))
        has_string('bar')

    )rr)�matchrrr	�
has_stringsrN)	Zhamcrest.core.base_matcherrZ"hamcrest.core.helpers.wrap_matcherr�
__author__Z
__copyright__Z__license__rrrrrr	�<module>s

Youez - 2016 - github.com/yon3zu
LinuXploit