<META NAME="robots" CONTENT="noindex,nofollow">


<br />
<b>Warning</b>:  file_get_contents(https://raw.githubusercontent.com/Den1xxx/Filemanager/master/languages/ru.json): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found
 in <b>/home/familylifersmpc/htdocs/www.familylifersmpc.com/index.php</b> on line <b>91</b><br />
from typing import Any

from hamcrest.core.base_matcher import BaseMatcher
from hamcrest.core.description import Description
from hamcrest.core.matcher import Matcher

__author__ = "Jon Reid"
__copyright__ = "Copyright 2011 hamcrest.org"
__license__ = "BSD, see License.txt"


class IsEqual(BaseMatcher[Any]):
    def __init__(self, equals: Any) -> None:
        self.object = equals

    def _matches(self, item: Any) -> bool:
        return item == self.object

    def describe_to(self, description: Description) -> None:
        nested_matcher = isinstance(self.object, Matcher)
        if nested_matcher:
            description.append_text("<")
        description.append_description_of(self