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

Add a better doctest for setting random seed. #685

Merged
merged 2 commits into from
Aug 9, 2016
Merged

Add a better doctest for setting random seed. #685

merged 2 commits into from
Aug 9, 2016

Conversation

drvinceknight
Copy link
Member

The previous doctests were checking particular results. When new
strategies where added to the library and/or other changes were made,
this could offset the random seed so the exact result would not
necessarily be the same.

This is the actual check we want: it checks that the results don't
change. We don't care what they actually are.

The previous doctests were checking particular results. When new
strategies where added to the library and/or other changes were made,
this could offset the random seed so the exact result would not
necessarily be the same.

This is the actual check we want: it checks that the results don't
change. We don't care what they actually are.
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.

3 participants