Skip to content

Commit c93efd9

Browse files
committed
fix pylint
1 parent f942dd4 commit c93efd9

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

tests/test_loop.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,16 +68,18 @@ def test_loop_basic(self) -> None:
6868
assert ret_code == expected_rc
6969
expected_rc += 1
7070

71+
# pylint: disable=invalid-name
7172
def test_loop_timeout_vs_socket_timeout(self):
7273
"""
73-
loop() should throw MMQTTException if the timeout argument is bigger than the socket timeout.
74+
loop() should throw MMQTTException if the timeout argument
75+
is bigger than the socket timeout.
7476
"""
7577
mqtt_client = MQTT.MQTT(
7678
broker="127.0.0.1",
7779
port=1883,
7880
socket_pool=socket,
7981
ssl_context=ssl.create_default_context(),
80-
socket_timeout=1
82+
socket_timeout=1,
8183
)
8284

8385
mqtt_client.is_connected = lambda: True

0 commit comments

Comments
 (0)