Skip to content
New issue

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

Some HTTPException subclasses do not accept response kwarg #1748

Merged
merged 2 commits into from Mar 18, 2020
Merged

Some HTTPException subclasses do not accept response kwarg #1748

merged 2 commits into from Mar 18, 2020

Conversation

zgoda
Copy link
Contributor

@zgoda zgoda commented Mar 11, 2020

No description provided.

.gitignore Outdated Show resolved Hide resolved
@pgjones
Copy link
Member

pgjones commented Mar 15, 2020

I'm not sure the test is required (if so I think it should test all the exception classes) - seems better checked via something like mypy.

@zgoda
Copy link
Contributor Author

zgoda commented Mar 15, 2020

I was following CONTRIBUTING guide so there's test for my change. Since mypy is not integrated in the pipeline I extended the test to cover all HTTPException subclasses.

@davidism davidism added this to the 2.0.0 milestone Mar 17, 2020
@davidism
Copy link
Member

Changed the test to pick all HTTPException subclasses that are errors, instead of a hard coded list.

@davidism davidism merged commit d6e431c into pallets:master Mar 18, 2020
@zgoda zgoda deleted the exceptions_missing_response_arg branch March 19, 2020 09:16
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 13, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants