Skip to content

Commit

Permalink
add stacktrace note
Browse files Browse the repository at this point in the history
  • Loading branch information
tybug committed Jan 25, 2025
1 parent 3042233 commit 3c32382
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions hypothesis-python/src/hypothesis/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -1132,6 +1132,10 @@ def _execute_once_for_engine(self, data: ConjectureData) -> None:
# - there's no need to handle hierarchical groups here, at least if no
# such implicit wrapping happens inside hypothesis code (we only care
# about the hypothesis-or-not distinction).
#
# 01-25-2025: this was patched to give the correct
# stacktrace in cpython https://github.com/python/cpython/issues/128799.
# can remove once python3.11 is EOL.
tb = e.exceptions[0].__traceback__ or e.__traceback__
else:
tb = e.__traceback__
Expand Down

0 comments on commit 3c32382

Please sign in to comment.