1
0
mirror of https://github.com/home-assistant/core.git synced 2026-05-08 17:49:37 +01:00

Adjust scripts for compatibility with Python 3.14 (#146774)

This commit is contained in:
Marc Mueller
2025-06-14 03:54:25 +02:00
committed by GitHub
parent cdb2b407be
commit 3d2dca5f0c
2 changed files with 2 additions and 4 deletions
+1 -1
View File
@@ -43,7 +43,7 @@ def mock_is_file():
"""Mock is_file."""
# All files exist except for the old entity registry file
with patch(
"os.path.isfile", lambda path: not path.endswith("entity_registry.yaml")
"os.path.isfile", lambda path: not str(path).endswith("entity_registry.yaml")
):
yield