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

Let hypothesis decide when to add optional keys #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

keis
Copy link

@keis keis commented Apr 5, 2017

Previously this decision was evaluated once when creating the generator
and never again meaning the shape of the dictionary would be static
through the entire test run.

The fix introduces a sentinel value that is randomly drawn next to the
actual value strategy and is then filtered to exclude the key from the
dictionary.

Previously this decision was evaluated once when creating the generator
and never again meaning the shape of the dictionary would be static
through the entire test run.

The fix introduces a sentinel value that is randomly drawn next to the
actual value strategy and is then filtered to exclude the key from the
dictionary.
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.

1 participant