Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Raise AttributeError in errors module #3633

Merged
merged 1 commit into from Apr 30, 2023

Conversation

pganssle
Copy link
Contributor

Previously, hypothesis.errors would return None when any arbitrary attribute was accessed.

This should fix the issue we are seeing in running CPython's test suite.

@pganssle pganssle force-pushed the errors-getattr branch 2 times, most recently from 2f15be1 to ca4c41f Compare April 30, 2023 18:01
@pganssle
Copy link
Contributor Author

I think this is failing because I'm trying to reference hypothesis.errors but maybe there's no documentation page for that? Should I just use ``hypothesis.errors` instead of a sphinx link?

Previously, `hypothesis.errors` would return `None` when any arbitrary
attribute was accessed.
@Zac-HD
Copy link
Member

Zac-HD commented Apr 30, 2023

Sounds good! I'll merge asap 🙂

Copy link
Member

@Zac-HD Zac-HD left a comment

Choose a reason for hiding this comment

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

Thanks Paul!

@Zac-HD Zac-HD enabled auto-merge April 30, 2023 18:07
@Zac-HD Zac-HD merged commit bc4395e into HypothesisWorks:master Apr 30, 2023
50 checks passed
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.

None yet

2 participants