Fixup pylint issues

This commit is contained in:
Roman Zeyde
2022-07-10 19:51:36 +03:00
parent 807c25a9fc
commit 8c5a9bfe02
3 changed files with 4 additions and 4 deletions

View File

@@ -78,12 +78,12 @@ def test_server_thread():
quit_event = threading.Event()
class FakeServer:
def accept(self): # pylint: disable=no-self-use
def accept(self):
if not connections:
raise socket.timeout()
return connections.pop(), 'address'
def getsockname(self): # pylint: disable=no-self-use
def getsockname(self):
return 'fake_server'
def handle_conn(conn):