-
Notifications
You must be signed in to change notification settings - Fork 591
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove Hypothesis internals from tracebacks
- Loading branch information
Showing
5 changed files
with
93 additions
and
16 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
RELEASE_TYPE: patch | ||
|
||
This patch shortens tracebacks from Hypothesis, so you can see exactly | ||
happened in your code without having to skip over irrelevant details | ||
about our internals (:issue:`848`). | ||
|
||
In the example test (see :pull:`1582`), this reduces tracebacks from | ||
nine frames to just three - and for a test with multiple errors, from | ||
seven frames per error to just one! | ||
|
||
If you *do* want to see the internal details, you can disable frame | ||
elision by setting :obj:`~hypothesis.settings.verbosity` to ``debug``. |
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
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
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
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