MCPcopy Create free account
hub / github.com/ezyang/ghstack / test_stdout_passthru

Method test_stdout_passthru

test_shell.py:82–91  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

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'
89arf
90""",
91 )
92
93 def test_stdout_with_stderr_prefix(self) -> None:
94 # What most commands should look like

Callers

nothing calls this directly

Calls 3

emitMethod · 0.95
flogMethod · 0.95
outClass · 0.85

Tested by

no test coverage detected