0x1949 Team - FAZEMRX - MANAGER
Edit File: base_matcher.cpython-310.pyc
o (]^� � @ s` d dl mZmZ d dlmZ d dlmZ d dlmZ dZ dZ dZed�ZG d d � d ee �Z dS )� )�Optional�TypeVar)�Description)�Matcher��tostringzJon ReidzCopyright 2011 hamcrest.orgzBSD, see License.txt�Tc @ sx e Zd ZdZdefdd�Zdedefdd�Zdded e e defd d�Zded e ddfdd �Zdede ddfdd�Z dS )�BaseMatchera� Base class for all :py:class:`~hamcrest.core.matcher.Matcher` implementations. Most implementations can just implement :py:obj:`_matches`, leaving the handling of any mismatch description to the ``matches`` method. But if it makes more sense to generate the mismatch description during the matching, override :py:meth:`~hamcrest.core.matcher.Matcher.matches` instead. �returnc C s t | �S �Nr )�self� r �</usr/lib/python3/dist-packages/hamcrest/core/base_matcher.py�__str__ � zBaseMatcher.__str__�itemc C s t d��)N�_matches)�NotImplementedError)r r r r r r r zBaseMatcher._matchesN�mismatch_descriptionc C s"