First Check
Commit to Help
Example Code
runner = CliRunner(mix_stderr=False) # mix_stderr must to be set to False to access result.stderr
Description
In the Testing documentation there is a Tip 🔥 Box with the following Tip:
You could also check result.stderr for "standard error".
This is true, but only if one sets the extra arguments on the CliRunner - specifically runner = CliRunner(mix_stderr=False). I believe this should be made clear in the documentation, or otherwise the CliRunner can prevent the default mixing of stderr and stdout as provided by click.
Operating System
macOS
Operating System Details
No response
Typer Version
0.4.1
Python Version
3.9.9
Additional Context
No response
First Check
Commit to Help
Example Code
Description
In the Testing documentation there is a Tip 🔥 Box with the following Tip:
You could also check
result.stderrfor "standard error".This is true, but only if one sets the extra arguments on the
CliRunner- specificallyrunner = CliRunner(mix_stderr=False). I believe this should be made clear in the documentation, or otherwise the CliRunner can prevent the default mixing of stderr and stdout as provided by click.Operating System
macOS
Operating System Details
No response
Typer Version
0.4.1
Python Version
3.9.9
Additional Context
No response