()
| 806 | closed: list[int] = [] |
| 807 | |
| 808 | def close_a_pipe() -> None: |
| 809 | read_fd, write_fd = os.pipe() |
| 810 | os.close(read_fd) |
| 811 | os.close(write_fd) |
| 812 | closed.extend((read_fd, write_fd)) |
| 813 | |
| 814 | with _close_after_commit(mocker, lock) as (_close_error, attempts): |
| 815 | close_a_pipe() |
no test coverage detected