(self)
| 80 | ) |
| 81 | |
| 82 | def test_stdout_passthru(self) -> None: |
| 83 | with self.assertLogs(level=logging.DEBUG) as cm: |
| 84 | self.emit(out(r"arf\n"), stdout=None) |
| 85 | self.assertExpectedInline( |
| 86 | self.flog(cm), |
| 87 | """\ |
| 88 | $ python emitter.py o 'arf\\n' |
| 89 | arf |
| 90 | """, |
| 91 | ) |
| 92 | |
| 93 | def test_stdout_with_stderr_prefix(self) -> None: |
| 94 | # What most commands should look like |