(self)
| 36 | self._sock_for_fixture_test.sendall(msg) |
| 37 | |
| 38 | def close(self): |
| 39 | self._socket_server.close() |
| 40 | |
| 41 | if self._sock_for_fixture_test is not None: |
| 42 | self._sock_for_fixture_test.close() |
| 43 | |
| 44 | if self._sock_for_reader_thread is not None: |
| 45 | self._sock_for_reader_thread.close() |
| 46 | |
| 47 | |
| 48 | @pytest.yield_fixture |