We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Running tests with typer.testing.CliRunner invoke method with Click 7.1 installed results in failures with
invoke
__init__() got an unexpected keyword argument 'mix_stderr'
Forcing Click 7.0 installed fixes the issue.
Looks like mix_stderr keyword argument was removed from the invoke method.
mix_stderr
7.0 invoke method:
def invoke(self, cli, args=None, input=None, env=None, catch_exceptions=True, color=False, mix_stderr=False, **extra):
https://github.com/pallets/click/blob/a936b99212c69a36a2cc2828252b2c4280c0c88c/click/testing.py#L280
7.1 invoke method:
def invoke( self, cli, args=None, input=None, env=None, catch_exceptions=True, color=False, **extra ):
https://github.com/pallets/click/blob/913ddf258dc973b79450f32169678f78770e1114/src/click/testing.py#L275
The text was updated successfully, but these errors were encountered:
Thanks! Yep, there was a breaking change introduced in Click 7.1.0.
It is now fixed and released in Typer version 0.0.10 🎉 🚀
Sorry, something went wrong.
Assuming the original issue was solved, it will be automatically closed now. But feel free to add more comments or create new issues.
No branches or pull requests
Describe the bug
Running tests with typer.testing.CliRunner
invoke
method with Click 7.1 installed results in failures withForcing Click 7.0 installed fixes the issue.
Looks like
mix_stderr
keyword argument was removed from theinvoke
method.7.0 invoke method:
https://github.com/pallets/click/blob/a936b99212c69a36a2cc2828252b2c4280c0c88c/click/testing.py#L280
7.1 invoke method:
https://github.com/pallets/click/blob/913ddf258dc973b79450f32169678f78770e1114/src/click/testing.py#L275
The text was updated successfully, but these errors were encountered: