def METHOD_NAME(
    self
) -> None:
    params: Dict[str, Set[str]] = {
        'param1': set()
    }
    serialization_exception = self.assertRaisesRegex(
        ValueError,
        'The params added to the email task call cannot be json serialized')
    with serialization_exception:
        taskqueue_services.enqueue_task(
            feconf.TASK_URL_FEEDBACK_MESSAGE_EMAILS,
            params,
            0)