/usr/lib/python3/dist-packages/hamcrest/library/text/__pycache__
NameSizeModeActions
isequal_ignoring_case.cpython-310.pyc19510644editdlrm
isequal_ignoring_whitespace.cpython-310.pyc22780644editdlrm
stringcontains.cpython-310.pyc16730644editdlrm
stringcontainsinorder.cpython-310.pyc22110644editdlrm
stringendswith.cpython-310.pyc17010644editdlrm
stringmatches.cpython-310.pyc18410644editdlrm
stringstartswith.cpython-310.pyc17210644editdlrm
substringmatcher.cpython-310.pyc13240644editdlrm
__init__.cpython-310.pyc7560644editdlrm
Edit: /usr/lib/python3/dist-packages/hamcrest/library/text/__pycache__/stringendswith.cpython-310.pyc (1701B)
o (]^'ã@sZddlmZddlmZddlmZdZdZdZGdd„deƒZ d e d ee fd d „Z d S)é)Ú hasmethod)ÚMatcher)ÚSubstringMatcherzJon ReidzCopyright 2011 hamcrest.orgzBSD, see License.txtcs8eZdZd ‡fdd„ Zdedefdd„Zdd „Z‡ZS) ÚStringEndsWithÚreturnNcstt|ƒ |¡dS)N)ÚsuperrÚ__init__)ÚselfÚ substring©Ú __class__©úF/usr/lib/python3/dist-packages/hamcrest/library/text/stringendswith.pyr szStringEndsWith.__init__ÚitemcCst|dƒsdS| |j¡S)NÚendswithF)rrr )r rr r rÚ_matchess  zStringEndsWith._matchescCsdS)Nz ending withr )r r r rÚ relationshipszStringEndsWith.relationship)rN) Ú__name__Ú __module__Ú __qualname__rÚstrÚboolrrÚ __classcell__r r r rr srÚstringrcCst|ƒS)aWMatches if object is a string ending with a given string. :param string: The string to search for. This matcher first checks whether the evaluated object is a string. If so, it checks if ``string`` matches the ending characters of the evaluated object. Example:: ends_with("bar") will match "foobar". )r)rr r rÚ ends_withsrN) Úhamcrest.core.helpers.hasmethodrÚhamcrest.core.matcherrÚ&hamcrest.library.text.substringmatcherrÚ __author__Ú __copyright__Ú __license__rrrr r r rÚs