mirror of
https://github.com/home-assistant/core.git
synced 2025-11-12 20:40:18 +00:00
Enable Ruff RSE (#113695)
This commit is contained in:
@@ -40,7 +40,7 @@ def _mock_cond_socket(sockname):
|
||||
"""Return addr if it matches the mock sockname."""
|
||||
if self._addr == sockname:
|
||||
return [sockname]
|
||||
raise AttributeError()
|
||||
raise AttributeError
|
||||
|
||||
return CondMockSock()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user