-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Explicitly test whether render / render_basic will accept a 'context'…
… kwarg This avoids unexpected behaviour when the method legitimately accepts a context kwarg, but happens to throw an unrelated TypeError - in this situation, the final output (or error diagnostics) will behave as if the context was never passed, making debugging difficult. See #2786 (comment)
- Loading branch information
Showing
1 changed file
with
19 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters