echo should not fail when stdout and stderr are None with pythonw on Windows.
(monkeypatch, runner)
| 103 | |
| 104 | |
| 105 | def 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( |
nothing calls this directly
no test coverage detected
searching dependent graphs…