def METHOD_NAME(self):
    """
    This test is only here to make sure that new errors will override __reduce__ and set
    __slots__ properly.
    Add the new error class to the below covered_subclasses dict, if it's covered in the above
    test_errors_pickling and test_slots_behavior tests.
    """
    def make_assertion(cls):
        assert set(cls.__subclasses__()) == covered_subclasses[cls]
        for subcls in cls.__subclasses__():
            make_assertion(subcls)
    covered_subclasses = defaultdict(set)
    covered_subclasses.update(
        {
            TelegramError: {
                Forbidden,
                InvalidToken,
                NetworkError,
                ChatMigrated,
                RetryAfter,
                Conflict,
                PassportDecryptionError,
                InvalidCallbackData,
            },
            NetworkError: {BadRequest, TimedOut},
        }
    )
    make_assertion(TelegramError)