mirror of
https://github.com/home-assistant/core.git
synced 2025-12-26 22:18:40 +00:00
Add more type hints to pylint plugin (#118319)
This commit is contained in:
@@ -20,7 +20,7 @@ def test_sockets_disabled() -> None:
|
||||
socket.socket()
|
||||
|
||||
|
||||
def test_sockets_enabled(socket_enabled) -> None:
|
||||
def test_sockets_enabled(socket_enabled: None) -> None:
|
||||
"""Test we can't connect to an address different from 127.0.0.1."""
|
||||
mysocket = socket.socket()
|
||||
with pytest.raises(pytest_socket.SocketConnectBlockedError):
|
||||
|
||||
Reference in New Issue
Block a user