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:
@@ -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"),
|
||||
[
|
||||
|
||||
Reference in New Issue
Block a user