Skip to content

Commit

Permalink
get conjecturedata from runner
Browse files Browse the repository at this point in the history
  • Loading branch information
Zac-HD committed Nov 27, 2023
1 parent bcd75b2 commit 2e3ff01
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion hypothesis-python/src/hypothesis/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -1037,7 +1037,9 @@ def run_engine(self):
info = falsifying_example.extra_information
fragments = []

ran_example = ConjectureData.for_buffer(falsifying_example.buffer)
ran_example = runner.new_conjecture_data_for_buffer(
falsifying_example.buffer
)
ran_example.slice_comments = falsifying_example.slice_comments
assert info.__expected_exception is not None
try:
Expand Down

0 comments on commit 2e3ff01

Please sign in to comment.