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

Test: unexport guardsrand #27942

Merged
merged 2 commits into from
Jul 7, 2018
Merged

Test: unexport guardsrand #27942

merged 2 commits into from
Jul 7, 2018

Conversation

rfourquet
Copy link
Member

@rfourquet rfourquet commented Jul 5, 2018

This is mostly superseded by the new behavior of @testset, which reinitializes the state of the GLOBAL_RNG.

As guardsrand was introduced in 0.7, I don't think it needs a deprecation. It could also be entirely removed, as the few uses in the repo could easily be replaced by @testset or by using an explicit RNG. I'm just not clear if code which was moved out of the repo contains call to this function. (EDIT: I found only IterativeEigensolvers removed from the repo, which doesn't use anymore guardsrand).

This is mostly superseded by the new behavior of at-testset,
which reinitializes the state of the GLOBAL_RNG.
@rfourquet rfourquet added the randomness Random number generation and the Random stdlib label Jul 5, 2018
@rfourquet rfourquet merged commit 069314b into master Jul 7, 2018
@rfourquet rfourquet deleted the rf/unexport-guardsrand branch July 7, 2018 13:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
randomness Random number generation and the Random stdlib
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants