()
| 625 | closed: list[int] = [] |
| 626 | |
| 627 | def close_a_pipe() -> None: |
| 628 | read_fd, write_fd = os.pipe() |
| 629 | os.close(read_fd) |
| 630 | os.close(write_fd) |
| 631 | closed.extend((read_fd, write_fd)) |
| 632 | |
| 633 | with _close_after_commit(mocker, lock) as (_close_error, attempts): |
| 634 | close_a_pipe() |
no test coverage detected