Improve type hints and fix pylint warnings in util tests (#119355)

This commit is contained in:
epenet
2024-06-11 15:07:40 +02:00
committed by GitHub
parent e14146d7c9
commit 18722aeccb
3 changed files with 11 additions and 9 deletions

View File

@@ -159,7 +159,7 @@ async def test_deprecated_save_json(
assert "should be updated to use homeassistant.helpers.json module" in caplog.text
async def test_loading_derived_class():
async def test_loading_derived_class() -> None:
"""Test loading data from classes derived from str."""
class MyStr(str):