(self, port, sock_type)
| 173 | ) |
| 174 | |
| 175 | def _capture_port(self, port, sock_type): |
| 176 | with self._lock: |
| 177 | return self._capture_port_no_lock(port, sock_type) |
| 178 | |
| 179 | def is_port_free(self, port, sock_type=socket.SOCK_STREAM): |
| 180 | sock = socket.socket(socket.AF_INET6, sock_type) |
no test coverage detected