()
| 158 | closed: list[int] = [] |
| 159 | |
| 160 | def close_a_pipe() -> None: |
| 161 | read_fd, write_fd = os.pipe() |
| 162 | os.close(read_fd) |
| 163 | os.close(write_fd) |
| 164 | closed.extend((read_fd, write_fd)) |
| 165 | |
| 166 | with _close_after_commit(mocker, lock) as (_close_error, attempts): |
| 167 | close_a_pipe() |
no test coverage detected