mirror of
https://github.com/home-assistant/core.git
synced 2025-11-09 02:49:40 +00:00
Yoda assertion style removed is (#48142)
This commit is contained in:
@@ -934,7 +934,7 @@ def test_socket_timeout(): # pylint: disable=invalid-name
|
||||
with pytest.raises(vol.Invalid):
|
||||
schema(-1)
|
||||
|
||||
assert _GLOBAL_DEFAULT_TIMEOUT == schema(None)
|
||||
assert schema(None) == _GLOBAL_DEFAULT_TIMEOUT
|
||||
|
||||
assert schema(1) == 1.0
|
||||
|
||||
|
||||
Reference in New Issue
Block a user