MCPcopy Create free account
hub / github.com/pyinvoke/invoke / closes_process_stdin

Method closes_process_stdin

tests/runners.py:1715–1720  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1713 runner.close_proc_stdin()
1714
1715 def closes_process_stdin(self):
1716 runner = Local(Context())
1717 runner.process = Mock()
1718 runner.using_pty = False
1719 runner.close_proc_stdin()
1720 runner.process.stdin.close.assert_called_once_with()
1721
1722 class timeout:
1723 @patch("invoke.runners.os")

Callers

nothing calls this directly

Calls 3

close_proc_stdinMethod · 0.95
LocalClass · 0.90
ContextClass · 0.90

Tested by

no test coverage detected