(self)
| 2817 | # either 0, 1 or 2, it is possible that it is overwritten (#12607). |
| 2818 | # This tests all combinations of this. |
| 2819 | def test_swap_fds(self): |
| 2820 | self.check_swap_fds(0, 1, 2) |
| 2821 | self.check_swap_fds(0, 2, 1) |
| 2822 | self.check_swap_fds(1, 0, 2) |
| 2823 | self.check_swap_fds(1, 2, 0) |
| 2824 | self.check_swap_fds(2, 0, 1) |
| 2825 | self.check_swap_fds(2, 1, 0) |
| 2826 | |
| 2827 | def _check_swap_std_fds_with_one_closed(self, from_fds, to_fds): |
| 2828 | saved_fds = self._save_fds(range(3)) |
nothing calls this directly
no test coverage detected