(self)
| 992 | assert s == "hello\n" |
| 993 | |
| 994 | def test_stdin(self) -> None: |
| 995 | cap = capture.FDCapture(0) |
| 996 | cap.start() |
| 997 | x = os.read(0, 100).strip() |
| 998 | cap.done() |
| 999 | assert x == b"" |
| 1000 | |
| 1001 | def test_writeorg(self, tmpfile: BinaryIO) -> None: |
| 1002 | data1, data2 = b"foo", b"bar" |