MCPcopy
hub / github.com/pallets/click / test_echo_no_streams

Function test_echo_no_streams

tests/test_utils.py:105–111  ·  view source on GitHub ↗

echo should not fail when stdout and stderr are None with pythonw on Windows.

(monkeypatch, runner)

Source from the content-addressed store, hash-verified

103
104
105def test_echo_no_streams(monkeypatch, runner):
106 """echo should not fail when stdout and stderr are None with pythonw on Windows."""
107 with runner.isolation():
108 sys.stdout = None
109 sys.stderr = None
110 click.echo("test")
111 click.echo("test", err=True)
112
113
114@pytest.mark.parametrize(

Callers

nothing calls this directly

Calls 1

isolationMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…