Closed maxbrunet closed 5 years ago
I suggest this change to fix #20. This replaces subprocess by the click.testing.CliRunner.
subprocess
click.testing.CliRunner
Not perfect either though and not sure if we should worry much about that: :slightly_frowning_face:
These tools should really only be used for testing as they change the entire interpreter state for simplicity and are not in any way thread-safe!
https://click.palletsprojects.com/en/7.x/testing/
Superseded by #23, thanks @chbrown and @iandotmartin!
I suggest this change to fix #20. This replaces
subprocess
by theclick.testing.CliRunner
.Not perfect either though and not sure if we should worry much about that: :slightly_frowning_face:
https://click.palletsprojects.com/en/7.x/testing/