"""Test environment shims.

The bot runs on python:3.11-slim in production; local dev machines may have
3.10, which lacks datetime.UTC (added in 3.11). Alias it so modules using
`from datetime import UTC` import cleanly under 3.10.
"""
import datetime

if not hasattr(datetime, "UTC"):
    datetime.UTC = datetime.timezone.utc
