Prefer from...import...as over import...as in core tests (#136146)

This commit is contained in:
epenet
2025-01-21 09:28:17 +01:00
committed by GitHub
parent 0254be78d6
commit 364556a7dd
24 changed files with 26 additions and 29 deletions

View File

@@ -6,7 +6,7 @@ from unittest.mock import MagicMock, patch
import pytest
from homeassistant import util
import homeassistant.util.dt as dt_util
from homeassistant.util import dt as dt_util
def test_raise_if_invalid_filename() -> None: