Skip to content

Revert Refactor of BundleReferenceStrategy into Bundle#4187

Merged
Zac-HD merged 2 commits into
HypothesisWorks:masterfrom
reaganjlee:bundle-regression
Nov 29, 2024
Merged

Revert Refactor of BundleReferenceStrategy into Bundle#4187
Zac-HD merged 2 commits into
HypothesisWorks:masterfrom
reaganjlee:bundle-regression

Conversation

@reaganjlee

@reaganjlee reaganjlee commented Nov 27, 2024

Copy link
Copy Markdown
Contributor

After reviewing, closes #4181, I realize there isn't a really "hypothesis-like" way to differentiate between the Bundle calls from the internal run_state_machine and those from other strategies, so the best way to solve this seems to be to revert most of it (there's two areas about printing but it didn't seem to affect the tests, so leaving that in). Hopefully it wasn't too much trouble for the users! At the very least there's some improvement in the testbase.

I'll also have to do a bit of refactor #4084 but I think that'll be fine.

Original PR: #4124

@Zac-HD

Zac-HD commented Nov 29, 2024

Copy link
Copy Markdown
Member

close/reopen to get CI unstuck:

@Zac-HD Zac-HD closed this Nov 29, 2024
@Zac-HD Zac-HD reopened this Nov 29, 2024

@Zac-HD Zac-HD left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Gah. I should have caught the original PR in review, I guess 😞

Thanks very much @reaganjlee for digging in again and handling the revert!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Getting invalid data generation for hypothesis.stateful.Bundle since 6.112.3

2 participants