�
���e' � �` � d dl mZ d dlmZ d dlmZ dZdZdZ G d� de� Z d e
d
ee
fd�Zy)
� )� hasmethod)�Matcher)�SubstringMatcherzJon ReidzCopyright 2011 hamcrest.orgzBSD, see License.txtc �6 � � e Zd Zd� fd�Zdedefd�Zd� Z� xZS )�StringEndsWith�returnc �, �� t t | � |� y )N)�superr �__init__)�self� substring� __class__s ��F/usr/lib/python3/dist-packages/hamcrest/library/text/stringendswith.pyr zStringEndsWith.__init__ s �� �
�n�d�,�Y�7� �itemc �R � t |d� sy|j | j � S )N�endswithF)r r r
)r r s r �_matcheszStringEndsWith._matches s" |