From ffe82366122c1d5b50e5490b410d35484f2627ad Mon Sep 17 00:00:00 2001 From: Alberto Contreras Date: Tue, 25 Jun 2024 11:28:40 +0200 Subject: [PATCH] chore: fix W0105 in t/u/s/h/test_netlink.py (#5409) --- tests/unittests/sources/helpers/test_netlink.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/unittests/sources/helpers/test_netlink.py b/tests/unittests/sources/helpers/test_netlink.py index 6aa0006a5bd..b68c8006c41 100644 --- a/tests/unittests/sources/helpers/test_netlink.py +++ b/tests/unittests/sources/helpers/test_netlink.py @@ -44,7 +44,7 @@ class TestCreateBoundNetlinkSocket(CiTestCase): def test_socket_error_on_create(self, m_socket): """create_bound_netlink_socket catches socket creation exception""" - """NetlinkCreateSocketError is raised when socket creation errors.""" + # NetlinkCreateSocketError is raised when socket creation errors. m_socket.side_effect = socket.error("Fake socket failure") with self.assertRaises(NetlinkCreateSocketError) as ctx_mgr: create_bound_netlink_socket()