This is a revival of #2497
I am hitting the issue described in that issue when using CliRunner. It is preventing me from being able to test the stdout and stderr of my click CLI commands.
The previous issue was closed with @davidism saying "Duplicate of existing issues about pretest's logging capture." Since I am unable to comment on that issue, I am creating a new one.
I would love to be pointed at the referenced duplicate issue so I can understand better what the issue and solutions are.
Ideally I would love to see some kind of workaround documented: Is there a way I can use python's builtin logging library in a way that would allow CliRunner to capture the output?
This is a revival of #2497
I am hitting the issue described in that issue when using CliRunner. It is preventing me from being able to test the stdout and stderr of my click CLI commands.
The previous issue was closed with @davidism saying "Duplicate of existing issues about pretest's logging capture." Since I am unable to comment on that issue, I am creating a new one.
I would love to be pointed at the referenced duplicate issue so I can understand better what the issue and solutions are.
Ideally I would love to see some kind of workaround documented: Is there a way I can use python's builtin
logginglibrary in a way that would allow CliRunner to capture the output?