Skip to content
Myr

Leave two lines of separation between top level definitions

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Braulio Valdivielso Martínez · committed by Braulio Valdivielso Martínez · parent 3c3bde5 · Browse files · 1 file+2 added−0 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+2 added−0 removed

  • tests:+2 added−0 removed

1 file+2 added−0 removed

modified:tests/testserver/server.py+2 added
1import threading 2import socket3import select456def consume_socket_content(sock, timeout=0.5):7 chunks = 655368 content = ""9 more_to_read = select.select([sock], [], [], timeout)[0]
9 unmodified lines
19 more_to_read = select.select([sock], [], [], timeout)[0] 2021 return content222324class Server(threading.Thread):25 """Dummy server using for unit testing"""26 WAIT_EVENT_TIMEOUT = 527
76 unmodified lines