from datetime import datetime


def _datetime_now() -> datetime:
    """Wrap ``datetime.now`` to easily mock it for testing.

    Returns
    -------
    datetime
        Current datetime.
    """
    return datetime.now()