mirror of
https://github.com/home-assistant/core.git
synced 2025-11-09 02:49:40 +00:00
Add type hints to core tests (#88478)
This commit is contained in:
@@ -33,7 +33,7 @@ from homeassistant.util.variance import ignore_variance
|
||||
),
|
||||
],
|
||||
)
|
||||
def test_ignore_variance(value_1, value_2, variance, expected):
|
||||
def test_ignore_variance(value_1, value_2, variance, expected) -> None:
|
||||
"""Test ignore_variance."""
|
||||
with_ignore = ignore_variance(lambda x: x, variance)
|
||||
assert with_ignore(value_1) == value_1
|
||||
|
||||
Reference in New Issue
Block a user