1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-24 12:59:34 +00:00

Use datetime.UTC alias [3.11] (#97067)

This commit is contained in:
Marc Mueller
2023-07-23 00:05:11 +02:00
committed by GitHub
parent da6802b009
commit fe0fe19be9
16 changed files with 38 additions and 80 deletions

View File

@@ -15,9 +15,7 @@ from .const import DOMAIN, METOFFICE_CONFIG_WAVERTREE, TEST_COORDINATES_WAVERTRE
from tests.common import MockConfigEntry
@pytest.mark.freeze_time(
datetime.datetime(2020, 4, 25, 12, tzinfo=datetime.timezone.utc)
)
@pytest.mark.freeze_time(datetime.datetime(2020, 4, 25, 12, tzinfo=datetime.UTC))
@pytest.mark.parametrize(
("old_unique_id", "new_unique_id", "migration_needed"),
[